1
0
forked from VimPlug/jedi

Add a test for extraction in a class

This commit is contained in:
Dave Halter
2020-02-23 01:41:51 +01:00
parent 2061919b64
commit d069a4e482

View File

@@ -92,3 +92,17 @@ class X(int):
def f(x):
#? 16 text {'new_name': 'ab'}
return ab()
# -------------------------------------------------- in-class-1
class Ya():
a = 3
#? 11 text {'new_name': 'f'}
c = a + 2
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def f():
return a + 2
class Ya():
a = 3
#? 11 text {'new_name': 'f'}
c = f()