chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/control: Fix up some Python version numbers.
[mLib-python]
/
mapping.pyx
diff --git
a/mapping.pyx
b/mapping.pyx
index 551261ec3626d13ec3bbf429cbd3f61bb7ab02e3..a7c1e26dab987c08c7c572a367e08ab23492cd5b 100644
(file)
--- a/
mapping.pyx
+++ b/
mapping.pyx
@@
-50,7
+50,7
@@
cdef class Mapping:
raise SystemError, 'unimplemented _iter'
## Initialization
raise SystemError, 'unimplemented _iter'
## Initialization
- def __
new
__(me, *hunoz, **hukairz):
+ def __
cinit
__(me, *hunoz, **hukairz):
me._init()
def __init__(me, stuff = None, **kw):
me.update(stuff, kw)
me._init()
def __init__(me, stuff = None, **kw):
me.update(stuff, kw)
@@
-169,7
+169,7
@@
cdef class MapIterBase:
cdef _MapIterator i
cdef int _init(me) except -1:
raise TypeError, 'abstract class'
cdef _MapIterator i
cdef int _init(me) except -1:
raise TypeError, 'abstract class'
- def __
new
__(me):
+ def __
cinit
__(me):
me.i = m._iter()
me._init()
def __iter__(me):
me.i = m._iter()
me._init()
def __iter__(me):