top | item 41999386 Python Ellipses Considered Harmful 2 points| kylebgorman | 1 year ago |wellformedness.com 2 comments order hn newest odie5533|1 year ago Author links to the PEP-3119 containing the new, correct way to do things. And then explains how to do it the old way?The right way to do this is with @abc.abstractmethod decorator. https://docs.python.org/3/library/abc.html#abc.abstractmetho... Hackbraten|1 year ago This is trivially caught by type checking.
odie5533|1 year ago Author links to the PEP-3119 containing the new, correct way to do things. And then explains how to do it the old way?The right way to do this is with @abc.abstractmethod decorator. https://docs.python.org/3/library/abc.html#abc.abstractmetho...
odie5533|1 year ago
The right way to do this is with @abc.abstractmethod decorator. https://docs.python.org/3/library/abc.html#abc.abstractmetho...
Hackbraten|1 year ago