Files
openide/python/testData/resolve/multiFile/attributeDefinedInNew/AttributeDefinedInNew.py
Andrey Vlasovskikh 072b3887c1 Fixed unresolved references inspection for fields defined in __new__ (PY-6805)
The inspection may show false negative warnings for assigned attributes of objects
other than the return value of __new__.
2013-04-12 14:42:45 +04:00

5 lines
63 B
Python

from a import Test
x = Test('foo')
print(x.foo)
# <ref>