Michele Abbrescia

Results 1 comments of Michele Abbrescia

This is my solution: ```py def typedproperty(expected_type): private_name = None class NamedProperty(property): def __set_name__(self, cls, name): nonlocal private_name private_name = '_' + name def _get(self): return getattr(self, private_name) def _set(self,...