mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Adds special handling of __new__ signature (PY-217).
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# makes sense for python 2.x
|
||||
class A:
|
||||
def __init__(self, one):
|
||||
pass
|
||||
|
||||
class B(A):
|
||||
def __new__(cls, one, two):
|
||||
pass
|
||||
|
||||
b = B(<arg1>"only_one")
|
||||
Reference in New Issue
Block a user