Код: Выделить всё
>>> a = SomeClass()
>>> a.property
Traceback (most recent call last):
File "", line 1, in
AttributeError: SomeClass instance has no attribute 'property'
Подробнее здесь: https://stackoverflow.com/questions/610 ... -attribute
Код: Выделить всё
>>> a = SomeClass()
>>> a.property
Traceback (most recent call last):
File "", line 1, in
AttributeError: SomeClass instance has no attribute 'property'