mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-08 09:20:56 +08:00
negative factors like -1 are now evaluated
This commit is contained in:
@@ -18,6 +18,8 @@ index = 0 + 1
|
||||
#? str()
|
||||
x[index]
|
||||
|
||||
#? int()
|
||||
x[1 + (-1)]
|
||||
|
||||
def calculate(number):
|
||||
return number + constant
|
||||
|
||||
Reference in New Issue
Block a user