mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
I forgot to fix one occurence of new in test_descr
This commit is contained in:
parent
28104c58d2
commit
636afc52c0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue