mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Fix whitespace.
This commit is contained in:
commit
a9333b1207
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ Use the ``NewType`` helper function to create distinct types::
|
|||
|
||||
UserId = NewType('UserId', int)
|
||||
some_id = UserId(524313)
|
||||
|
||||
|
||||
The static type checker will treat the new type as if it were a subclass
|
||||
of the original type. This is useful in helping catch logical errors::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue