8000 gh-74690: Document changes made to runtime-checkable protocols in 3.12 by AlexWaygood · Pull Request #103348 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-74690: Document changes made to runtime-checkable protocols in 3.12 #103348

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix markup
  • Loading branch information
AlexWaygood committed Apr 7, 2023
commit 46fd03b9ec1a59a9a8c08b4daa98d694929bb3ab
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ typing
>>> isinstance(f, HasX) # unchanged, even though HasX now also has a `y` attribute
True

This change was made in order to speed up ``isinstance()` checks against
This change was made in order to speed up ``isinstance()`` checks against
runtime-checkable protocols.

* The performance profile of :func:`isinstance` checks against
Expand Down
0