New submission from Héctor Canto :
I found a small typo here:
https://docs.python.org/3.8/library/typing.html?highlight=typing#typing.NewType
I checked also in other 3.x versions and it is there too.
Original:
A helper function to indicate a distinct types to a typechecker, see NewType
Possible solution (remove the "s" in types):
A helper function to indicate a distinct type to a typechecker, see NewType
--
assignee: docs@python
components: Documentation
messages: 369730
nosy: docs@python, hectorcanto
priority: normal
severity: normal
status: open
title: Typo in library/typing
type: enhancement
versions: Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python
3.9
___
Python tracker
<https://bugs.python.org/issue40745>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com