Re:Interface Dispatch (2018)
by mikepurvis on Thursday April 18, 2019 @10:53AM
(#19691428)
Python typically goes with `cls`, particularly in conjunction with the `@classmethod` decorator.
[ Parent
| on HN ]
Python code uses both.
Re:Interface Dispatch (2018)
by mikepurvis on Thursday April 18, 2019 @09:41PM
(#19696369)
Um, not really. PEP8 explicitly says to use `cls`:
https://www.python.org/dev/peps/pep-0008/#function-and-metho...