]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44353: Correct docstring for `NewType` (#29785)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Fri, 26 Nov 2021 04:55:15 +0000 (04:55 +0000)
committerGitHub <noreply@github.com>
Fri, 26 Nov 2021 04:55:15 +0000 (20:55 -0800)
commit93c65df83cef71a4bc77d71afecdec8744c4f73a
treeec3cc6cc08451f826e8c1fa46d945ff1bafb2ebc
parent97dcab783279444ff721a301e1faca6f29fdc600
bpo-44353: Correct docstring for `NewType` (#29785)

The docstring for `typing.NewType` is no longer strictly accurate, now that `NewType` is a class, rather than a function
Lib/typing.py