X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/d8d81d1b049836f7d4fae7b0077a8ce9e2fc43ac..a1ce1458d254a60b64add7f1ca44bd638c872097:/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