diff options
author | Martin Szulecki | 2014-07-30 17:03:34 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-07-30 17:03:34 +0200 |
commit | d34facc09effe7c18baf8f66c7237f7b4a876696 (patch) | |
tree | 787025a88aeaee07f76246df47706227ea45dee6 /cython/plist.pyx | |
parent | e05f126216fda0eaa6afcadde275ef2a838f3b53 (diff) | |
download | libplist-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.pyx | 2 |
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)) |