summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-03-19 16:25:46 +0100
committerGravatar Nikias Bassen2013-03-19 16:25:46 +0100
commit40ddddc1868b1efd50a8f406c46fb348519c1e60 (patch)
tree95dbece410a48af84b2175a25ddb02b0257828d7
parent94fa6e220b587e646d072713daeabbf6760e54f9 (diff)
downloadlibplist-40ddddc1868b1efd50a8f406c46fb348519c1e60.tar.gz
libplist-40ddddc1868b1efd50a8f406c46fb348519c1e60.tar.bz2
cython: removed unused return statements
-rw-r--r--cython/plist.pyx3
1 files changed, 0 insertions, 3 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index d1ef91f..4365d7b 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -577,9 +577,7 @@ cdef class Dict(Node):
return '<Dict: %s>' % self._map
cpdef dict get_value(self):
- cdef dict result = cpython.PyDict_New()
return dict([(key, value.get_value()) for key, value in self.items()])
- return result
cpdef set_value(self, dict value):
plist_free(self._c_node)
@@ -611,7 +609,6 @@ cdef class Dict(Node):
cpdef list values(self):
return cpython.PyDict_Values(self._map)
- return self._map.values()
cpdef object itervalues(self):
return self._map.itervalues()