СК
Size: a a a
СК
СК
P
СК
P
СК
P
P
P
P
К
A
P
К
К
СК
py3
class Test:
some_member = 'string literal'
def __getattr__(self, attr):
print("Tried to receive attribute:", attr)
return attr
instance = Test()
print("When attribute does not existspython will call method __getattr__:", instance.hui)
Tried to receive attribute: hui
When attribute does not existspython will call method __getattr__: hui
СК
СК
A
К