X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/23bff39b96e98bc1969d275bc7c43e1d6dd28429..376ad06df03e59ebf0796b2f475417150e82252d:/atom.pyx diff --git a/atom.pyx b/atom.pyx index 5c0cde6..9892ba5 100644 --- a/atom.pyx +++ b/atom.pyx @@ -27,7 +27,7 @@ cdef class AtomIter: cdef atom_iter _i - def __new__(me): + def __cinit__(me): atom_mkiter(&me._i, ATOM_GLOBAL) def __next__(me): cdef atom *a