Add stubs for NewType helper function (#398)

(Note that this is not enough to support NewType(). However it's a prerequisite for the mypy implementation.)
This commit is contained in:
Michael Lee authored and Guido van Rossum committed 2016-07-26 07:35:28 -07:00
1 parent b8c08f25f7
commit 9ecc1f2147
2 files changed
+2

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ builtinclass = object()
_promote = object()
NamedTuple = object()
no_type_check = object()
NewType = object()
# Type aliases and type constructors