Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-44353: Correct docstring for NewType#29785

Merged
gvanrossum merged 1 commit into
python:mainpython/cpython:mainfrom
AlexWaygood:patch-2AlexWaygood/cpython:patch-2Copy head branch name to clipboard
Nov 26, 2021
Merged

bpo-44353: Correct docstring for NewType#29785
gvanrossum merged 1 commit into
python:mainpython/cpython:mainfrom
AlexWaygood:patch-2AlexWaygood/cpython:patch-2Copy head branch name to clipboard

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Nov 26, 2021

Copy link
Copy Markdown
Member

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

https://bugs.python.org/issue44353

The docstring for `typing.NewType` is no longer strictly accurate, now that `NewType` is a class, rather than a function
@AlexWaygood AlexWaygood changed the title Correct docstring for NewType bpo-44353: Correct docstring for NewType Nov 26, 2021
@bedevere-bot

Copy link
Copy Markdown

@gvanrossum: Please replace # with GH- in the commit message next time. Thanks!

@AlexWaygood

Copy link
Copy Markdown
Member Author

Sorry to bother you @gvanrossum — could this possibly be backported to 3.10 as well? 🙂

@Fidget-Spinner Fidget-Spinner added the needs backport to 3.10 only security fixes label Nov 26, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @AlexWaygood for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry @AlexWaygood and @gvanrossum, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 93c65df83cef71a4bc77d71afecdec8744c4f73a 3.10

@AlexWaygood AlexWaygood deleted the patch-2 branch November 26, 2021 14:31
@Fidget-Spinner Fidget-Spinner added needs backport to 3.10 only security fixes and removed needs backport to 3.10 only security fixes labels Nov 26, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @AlexWaygood for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 26, 2021
The docstring for `typing.NewType` is no longer strictly accurate, now that `NewType` is a class, rather than a function
(cherry picked from commit 93c65df)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-29796 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Nov 26, 2021
miss-islington added a commit that referenced this pull request Nov 26, 2021
The docstring for `typing.NewType` is no longer strictly accurate, now that `NewType` is a class, rather than a function
(cherry picked from commit 93c65df)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@AlexWaygood

Copy link
Copy Markdown
Member Author

Thanks @Fidget-Spinner!

remykarem pushed a commit to remykarem/cpython that referenced this pull request Dec 7, 2021
The docstring for `typing.NewType` is no longer strictly accurate, now that `NewType` is a class, rather than a function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.