mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Fix itemgetter for tuples
This commit is contained in:
@@ -259,7 +259,7 @@ g = operator.itemgetter(1, 2)
|
||||
x1, x2 = g([1, 1.0, ''])
|
||||
#? float()
|
||||
x1
|
||||
#? float()
|
||||
#? str()
|
||||
x2
|
||||
|
||||
x1, x2 = g([1, ''])
|
||||
|
||||
Reference in New Issue
Block a user