Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 342e800 commit c301cbfCopy full SHA for c301cbf
1 file changed
Doc/library/typing.rst
@@ -68,7 +68,7 @@ Use the ``NewType`` helper function to create distinct types::
68
69
UserId = NewType('UserId', int)
70
some_id = UserId(524313)
71
-
+
72
The static type checker will treat the new type as if it were a subclass
73
of the original type. This is useful in helping catch logical errors::
74
0 commit comments