summaryrefslogtreecommitdiffstats
path: root/cython/plist.pyx
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-07-30 17:03:34 +0200
committerGravatar Martin Szulecki2014-07-30 17:03:34 +0200
commitd34facc09effe7c18baf8f66c7237f7b4a876696 (patch)
tree787025a88aeaee07f76246df47706227ea45dee6 /cython/plist.pyx
parente05f126216fda0eaa6afcadde275ef2a838f3b53 (diff)
downloadlibplist-d34facc09effe7c18baf8f66c7237f7b4a876696.tar.gz
libplist-d34facc09effe7c18baf8f66c7237f7b4a876696.tar.bz2
cython: Replace old Pyrex for-from loop with normal one to fix compiler warning
Diffstat (limited to 'cython/plist.pyx')
-rw-r--r--cython/plist.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index 8ca668f..a78e74c 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -716,7 +716,7 @@ cdef class Array(Node):
cdef uint32_t size = plist_array_get_size(self._c_node)
cdef plist_t subnode = NULL
- for i from 0 <= i < size:
+ for i in range(size):
subnode = plist_array_get_item(self._c_node, i)
self._array.append(plist_t_to_node(subnode, False))