I forgot to fix one occurence of new in test_descr

This commit is contained in:
Christian Heimes 2007-11-27 23:53:14 +00:00
parent 28104c58d2
commit 636afc52c0

View file

@ -2010,7 +2010,7 @@ def recursions():
# Bug #1202533.
class A(object):
pass
A.__mul__ = new.instancemethod(lambda self, x: self * x, None, A)
A.__mul__ = types.MethodType(lambda self, x: self * x, None, A)
try:
A()*2
except RuntimeError: