Files
Andrey Vlasovskikh 34221a6b9e Fixed recursion in evaluating return type of __new__ while evaluating type of cls (PY-9493)
This recursion resulted in empty resolve result list for __new__ and a false positive in
the unresolved references inspection.
2013-04-12 17:22:33 +04:00

5 lines
106 B
Python

class Test(object):
def __new__(cls, foo):
x = super(Test, cls)
return x.__new__(cls)