May-28-2017, 01:37 AM
That doesn't really make sense. You can't call it as a class method, since you won't know the instance. Calling it as an instance method, you can get cls with
Also, in Python we almost never use class methods. Why not just a regular function?
type(self)
. So why both?Also, in Python we almost never use class methods. Why not just a regular function?