Today I learned #Python attribute names have different rules in the syntax world `obj.attr` and the runtime world `getattr(obj, "attr")`. One must be a valid identifier and the other can do whatever it wants!
1 likes 0 replies
?
Today I learned #Python attribute names have different rules in the syntax world `obj.attr` and the runtime world `getattr(obj, "attr")`. One must be a valid identifier and the other can do whatever it wants!
1 likes 0 replies