fix typing.NewType
This commit is contained in:
parent
bfa034f2d9
commit
7d4fbd07ea
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue