Files
jedi/test/completion/fstring.py
2018-07-02 01:26:17 +02:00

31 lines
317 B
Python

# 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
#? ['Exception']
F"{Excepti
#? 8 Foo
Fr'a{Foo.bar'
#? str()
Fr'sasdf'
#? 7 str()
Fr'''sasdf''' + ''
#? ['upper']
f'xyz'.uppe