Make sure classmethod param completion works better for the first param

This commit is contained in:
Dave Halter
2019-12-25 03:39:37 +01:00
parent 110d89724e
commit 3b2dddd1d3
3 changed files with 50 additions and 13 deletions

View File

@@ -318,13 +318,28 @@ class F():
#?
return param
@classmethod
def my_method_without_call(cls, param):
#?
cls.my_variable
#? ['my_method', 'my_method_without_call']
cls.my_meth
#?
return param
@classmethod
def my_method(cls, param):
#? []
param.my_method
#?
cls.my_variable
#? ['my_method', 'my_method_without_call']
cls.my_meth
#?
return param
#? str()
F.my_func('')
#? str()
F.my_method('')
# -----------------
# Unknown metaclass