FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Correct documentation for NewType by AlexWaygood · Pull Request #11621 · python/mypy · GitHub

Repository navigation

Correct documentation for NewType - #11621

Merged
hauntsaninja merged 1 commit into
python:masterfrom
AlexWaygood:patch-1
Nov 26, 2021
Merged

hauntsaninja merged 1 commit into
python:masterfrom
AlexWaygood:patch-1

Conversation

AlexWaygood commented Nov 26, 2021 •
edited
Loading

Copy link
Copy Markdown
Member

NewType is a class in Python >=3.10, meaning the mypy documentation is no longer accurate.

Closes #11620

NewType is a class in Python >=3.10, meaning the mypy documentation is no longer accurate.

Closes python#11620

Copy link
Copy Markdown
Member Author

AlexWaygood commented Nov 26, 2021 •
edited
Loading

Copy link
Copy Markdown
Member Author

Similar PR submitted to cpython to correct the docstring of typing.NewType: python/cpython#29785

(This has just been merged.)

hauntsaninja merged commit eea4c76 into python:master Nov 26, 2021
AlexWaygood deleted the patch-1 branch November 26, 2021 08:47

Copy link
Copy Markdown
Member Author

Thanks @hauntsaninja!

tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
NewType is a class in Python >=3.10, meaning the mypy documentation is no longer accurate.

Closes python#11620
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NewType documentation is incorrect

3 participants


Back | FazBrowse Home | New Git URL