mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
Instead of just relying on the fact that some of parameters is named "self". GitOrigin-RevId: c9c0d1d4bbcecb93a84a3dc451485fa70790ca6d
8 lines
120 B
Python
8 lines
120 B
Python
class SomeClass:
|
|
@classmethod
|
|
def foo(cls, arg2, arg1):
|
|
pass
|
|
|
|
|
|
SomeClass.foo(2, 1)
|
|
SomeClass().foo(2, 1) |