chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils.pyx (_getfd): Hack around Pyrex exception-handling bugs.
[mLib-python]
/
assoc.pyx
diff --git
a/assoc.pyx
b/assoc.pyx
index 38b8446f4b0ba86411b7a13706f904c7a6eb7629..7685dd6b3f2ebe04959087cd7204318e0c3a5065 100644
(file)
--- a/
assoc.pyx
+++ b/
assoc.pyx
@@
-73,7
+73,7
@@
cdef class AssocTable (Mapping):
cdef class _AssocIter (_MapIterator):
cdef AssocTable t
cdef assoc_iter i
cdef class _AssocIter (_MapIterator):
cdef AssocTable t
cdef assoc_iter i
- def __cinit__(me, AssocTable t):
+ def __cinit__(me, AssocTable t
not None
):
me.t = t
assoc_mkiter(&me.i, &me.t._t)
cdef void *_next(me):
me.t = t
assoc_mkiter(&me.i, &me.t._t)
cdef void *_next(me):