Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
StavrosK
· 9y ago · 0 comments
Class methods don't accept a "self" argument, though. In those cases, you call it cls.
Comments
[–]
scriptkiddy
9y ago
I'm aware. The `self` vs `cls` thing is convention. You can call either argument whatever you want.