forked from VimPlug/jedi
With the changes in parso, f-strings are now completable
This commit is contained in:
17
test/completion/fstring.py
Normal file
17
test/completion/fstring.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# python >= 3.6
|
||||
|
||||
class Foo:
|
||||
bar = 1
|
||||
|
||||
#? 10 int()
|
||||
f'{Foo.bar}'
|
||||
#? 10 ['bar']
|
||||
f'{Foo.bar}'
|
||||
#? 10 int()
|
||||
Fr'{Foo.bar'
|
||||
#? 10 ['bar']
|
||||
Fr'{Foo.bar'
|
||||
#? int()
|
||||
Fr'{Foo.bar
|
||||
#? ['bar']
|
||||
Fr'{Foo.bar
|
||||
Reference in New Issue
Block a user