1
0
forked from VimPlug/jedi

WIP of namedtuple/itemgetter/property

This commit is contained in:
Dave Halter
2018-09-03 09:50:45 +02:00
parent 0edc63ca8b
commit 39f1dfc85e
5 changed files with 106 additions and 18 deletions

View File

@@ -241,6 +241,18 @@ with contextlib.closing('asd') as string:
#? str()
string
# -----------------
# operator
# -----------------
import operator
f = operator.itemgetter([1])
#? float()
f([1.0])
#? str()
f([1, ''])
# -----------------
# shlex
# -----------------