From 43df60ff7dace789ad8a46aa3c0a2c9125add679 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 31 Mar 2018 17:51:27 +0200 Subject: [PATCH] With the changes in parso, f-strings are now completable Parso now uses one syntax tree for f-strings and the classic syntax tree. --- test/completion/fstring.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/completion/fstring.py b/test/completion/fstring.py index fda3546e..e6f9b83c 100644 --- a/test/completion/fstring.py +++ b/test/completion/fstring.py @@ -15,3 +15,10 @@ Fr'{Foo.bar' Fr'{Foo.bar #? ['bar'] Fr'{Foo.bar +#? ['Exception'] +F"{Excepti + +#? 8 Foo +Fr'a{Foo.bar' +#? str() +Fr'sasdf'