1
0
forked from VimPlug/jedi

Tests and implementation for type on lambda and function objects.

This commit is contained in:
Dave Halter
2015-07-01 14:40:57 +02:00
parent e222a30227
commit e355ab201e
3 changed files with 12 additions and 2 deletions

View File

@@ -35,8 +35,9 @@ next(open(''))
#? ['__itemsize__']
tuple.__itemsize__
# type
# -----------------
# type() calls with one parameter
# -----------------
#? int
type(1)
#? int
@@ -53,6 +54,8 @@ def x():
generator = type(x())
#? generator
type(x for x in [])
#? type(x)
type(lambda: x)
# -----------------
# re