Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: typing.Self, fix typo #94771

Merged

Conversation

maxzhenzhera
Copy link
Contributor

  • fix double spelled word 'use'

You should use use Self as calls to ...

  • change methods names in the code blocks to the infinitive form

returns_self > return_self

Simple typo fixes, no issue was created.

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@Fidget-Spinner
Copy link
Member

Could you update https://github.com/python/cpython/blob/main/Lib/typing.py#L572 too please?

@maxzhenzhera
Copy link
Contributor Author

@Fidget-Spinner Oh, sorry, Didn't think about this.
Done it.

@Fidget-Spinner Fidget-Spinner merged commit 90a6e56 into python:main Jul 12, 2022
@miss-islington
Copy link
Contributor

Thanks @maxzhenzhera for the PR, and @Fidget-Spinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 12, 2022
* fix typo - double spelled word 'use'

* change methods names to the infinitive form
(cherry picked from commit 90a6e56)

Co-authored-by: Max Zhenzhera <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 12, 2022
@bedevere-bot
Copy link

GH-94786 is a backport of this pull request to the 3.11 branch.

@Fidget-Spinner
Copy link
Member

@maxzhenzhera congrats on your first contribution to CPython! Looking forward to more contributions in the future.

@gvanrossum gvanrossum removed their request for review July 12, 2022 17:49
miss-islington added a commit that referenced this pull request Jul 12, 2022
* fix typo - double spelled word 'use'

* change methods names to the infinitive form
(cherry picked from commit 90a6e56)

Co-authored-by: Max Zhenzhera <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants