Get a first classmethod extraction working
This commit is contained in:
1 parent
b7be5a4fe2
commit
a7110a4e08
2 files changed
+22
-6
No files matched your search
@@ -61,3 +61,19 @@ class X:
|
||||
def f(x):
|
||||
#? 11 text {'new_name': 'ab'}
|
||||
return ab()
|
||||
# -------------------------------------------------- in-classmethod-1
|
||||
class X:
|
||||
@classmethod
|
||||
def f(x):
|
||||
#? 16 text {'new_name': 'ab'}
|
||||
return 25
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
class X:
|
||||
@classmethod
|
||||
def ab():
|
||||
return 25
|
||||
|
||||
@classmethod
|
||||
def f(x):
|
||||
#? 16 text {'new_name': 'ab'}
|
||||
return x.ab()
|
||||
Reference in new issue
Block a user