Hacker News new | ask | show | jobs
by mikepurvis 2621 days ago
Python typically goes with `cls`, particularly in conjunction with the `@classmethod` decorator.
1 comments

Python code uses both.
Um, not really. PEP8 explicitly says to use `cls`:

https://www.python.org/dev/peps/pep-0008/#function-and-metho...