Select Git revision
application.py
-
moon2 authored
For all other methods the beginner's rule of thumb is "when in doubt, call `super().methodname()` when overriding, but for draw it gives a cryptic @abstractmethod error: File "/flash/sys/st3m/ui/view.py", line 163, in draw TypeError: function takes 0 positional arguments but 2 were given This is not very beginner friendly, so we're providing a NOP default.
moon2 authoredFor all other methods the beginner's rule of thumb is "when in doubt, call `super().methodname()` when overriding, but for draw it gives a cryptic @abstractmethod error: File "/flash/sys/st3m/ui/view.py", line 163, in draw TypeError: function takes 0 positional arguments but 2 were given This is not very beginner friendly, so we're providing a NOP default.