If I create a metaclass and put a method in it, editor signals error if the first arg is called 'cls'. This doesn't happen with __init__() but other methods also accept class as first arg, so it should be ok to name it cls.
Can you give the use-cases you have so that those use-cases can be properly covered?
I think it's enough to cover the simples use-case, as here:
class SomeMeta(type): def __init__(cls, *args, **kwargs): pass
def some_method(cls, *args, **kwargs): #This line shows error pass
You seem to have CSS turned off. Please don't fill out this field.
Can you give the use-cases you have so that those use-cases can be properly covered?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "(deprecated) Please use https://www.brainwy.com/tracker/PyDev/"
I think it's enough to cover the simples use-case, as here:
class SomeMeta(type):
def __init__(cls, *args, **kwargs):
pass
def some_method(cls, *args, **kwargs): #This line shows error
pass