chiark / gitweb /
*.pyx: Replace __new__ with __cinit__ like the program says.
[mLib-python] / crc32.pyx
index f76ef5e..b5d8374 100644 (file)
--- a/crc32.pyx
+++ b/crc32.pyx
@@ -27,7 +27,7 @@
 
 cdef class CRC32:
   cdef uint32 _a
-  def __new__(me, *hunoz, **hukairz):
+  def __cinit__(me, *hunoz, **hukairz):
     me._a = 0
   def __init__(me):
     pass