4 ms·
Class methods don't accept a "self" argument, though. In those cases, you call it cls.
by StavrosK 10y ago
Class methods don't accept a "self" argument, though. In those cases, you call it cls.
- scriptkiddy 10y agoI'm aware. The `self` vs `cls` thing is convention. You can call either argument whatever you want.