fix typing.NewType

This commit is contained in:
Pavol Rusnak 2016-09-13 11:24:12 +02:00
parent bfa034f2d9
commit 7d4fbd07ea
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
1 changed files with 1 additions and 1 deletions

View File

@ -58,6 +58,6 @@ def TypeVar(*args):
return object return object
def NewType(*args): def NewType(*args):
return object return lambda x: x
TYPE_CHECKING = False TYPE_CHECKING = False