mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
Fix issues with Python 3.6's f strings and underscores in numbers.
This commit is contained in:
@@ -19,6 +19,17 @@ str..
|
||||
#? []
|
||||
a(0):.
|
||||
|
||||
# -----------------
|
||||
# _ separators (for older versions than 3.6, a = 1_2_3 will just be 1, the rest
|
||||
# gets ignored.)
|
||||
# -----------------
|
||||
#? int()
|
||||
1_2_3
|
||||
#? int()
|
||||
123_345_345
|
||||
#? int()
|
||||
0x3_4
|
||||
|
||||
# -----------------
|
||||
# if/else/elif
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user