Adds special handling of __new__ signature (PY-217).

This commit is contained in:
Dmitry Cheryasov
2010-03-31 07:17:20 +03:00
parent d7c05306b0
commit 1364124a30
7 changed files with 122 additions and 9 deletions
@@ -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")