Fix itemgetter for tuples

This commit is contained in:
Dave Halter committed 2018-10-05 10:51:52 +02:00
1 parent 1b8c87215d
commit 380f0ac404
2 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ g = operator.itemgetter(1, 2)
x1, x2 = g([1, 1.0, ''])
#? float()
x1
#? float()
#? str()
x2
x1, x2 = g([1, ''])