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 cheat sheet #13873

Merged
merged 12 commits into from
Oct 18, 2022
Merged

Improve cheat sheet #13873

merged 12 commits into from
Oct 18, 2022

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Oct 12, 2022

  • Mention PEP 604 unions
  • Separate out the 3.8 stuff to keep things more readable
  • Remove mention of typing.Match
  • Remove unnecessary mention of stub
  • Make classes more prominent
  • Clarify that forward references fail at runtime
  • More of an example for Any
  • Mention None return
  • Make default value example mean something
  • Move Union docs to builtin types

Linking #13681

@hauntsaninja hauntsaninja merged commit 4ccfca1 into python:master Oct 18, 2022
@hauntsaninja hauntsaninja deleted the cheat-sheet branch October 18, 2022 04:47
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.

1 participant