fix special methods testcase for previous changes to __ipow__
authorLisandro Dalcin <dalcinl@gmail.com>
Wed, 2 Mar 2011 20:08:40 +0000 (17:08 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Wed, 2 Mar 2011 20:08:40 +0000 (17:08 -0300)
tests/run/special_methods_T561.pyx

index 0f84eba3419c6d0d462e8402166f73ab4277baea..3a6eb1c0645193c20a895c38a3d7efd42eb20498 100644 (file)
@@ -401,7 +401,7 @@ cdef class VerySpecial:
     def __imod__(self, other):
         print "VS __imod__ %d %%= %d" % (self.value, other.value)
 
-    def __ipow__(self, other, mod):
+    def __ipow__(self, other):
         # We must declare mod as an argument, but we must not touch it
         # or we'll get a segfault.  See #562
         print "VS __ipow__ %d %d" % (self.value, other.value)