mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Nothing + string literal should not result in string literal but in a string type (because we don't know how the string literal could have looked like
This commit is contained in:
@@ -108,3 +108,12 @@ b[1]
|
||||
z = sorted([1], key = lambda x : x):
|
||||
#? int()
|
||||
z[0]
|
||||
|
||||
|
||||
# -----------------
|
||||
# undefined names
|
||||
# -----------------
|
||||
a = foobarbaz + 'hello'
|
||||
|
||||
#? int() float()
|
||||
{'hello': 1, 'bar': 1.0}[a]
|
||||
|
||||
Reference in New Issue
Block a user