forked from VimPlug/jedi
WIP of namedtuple/itemgetter/property
This commit is contained in:
@@ -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
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user