accessify
accessify copied to clipboard
Python design kit: interfaces, declared exception throws, class members accessibility levels (private and protected methods for humans).
Trailing chracters were automatically removed by my editor.
Hello! Here my code that raises some errors that I can't understand. ```python class Car: @protected def start_engine(self): return "Engine's sound." def run(self): return self.start_engine() class Tesla(Car): pass if __name__...
The exceptions names are too large, it is more descriptive but also makes harder to write them, please make a balance between both things
Calls to functions marked as private/protected throw an error when inside a list comprehension. Example: ```python class Test: def a(self): return [self.b(x) for x in "12345"] @private def b(self, x):...