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

Improve docs of PEP 604 Union #24301

Merged
merged 2 commits into from
Feb 9, 2021
Merged

Conversation

Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Jan 23, 2021

  • isinstance and issubclass descriptions for union were needlessly repetitive. They have been merged.
  • link to the docs in the what's new instead of just the PEP. It's hopefully easier to understand for a new user and not as long as the PEP.
  • update isinstance/issubclass docs to reflect them accepting unions

@Fidget-Spinner
Copy link
Member Author

Fidget-Spinner commented Jan 23, 2021

@gvanrossum please take a look if you have the time. PEP 604's docs were my first piece of technical writing. In retrospect, it lacked some polish ;).

Labels:
skip news, skip issue
no backport required.

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the wait. Merging now!

@bedevere-bot
Copy link

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

@Fidget-Spinner Fidget-Spinner deleted the pep604-cleanup branch February 9, 2021 14:49
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants