Skip to content

Commit

Permalink
Update Doc/library/typing.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
serhiy-storchaka and AlexWaygood authored Mar 7, 2024
1 parent 35d8dc4 commit a29b86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ types.
of that protocol on Python 3.12+, and vice versa.
Most users are unlikely to be affected by this change.

The members of a runtime-checkable protocol are now considered "frozen"
Separately, the members of a runtime-checkable protocol are now considered "frozen"
at runtime as soon as the class has been created. Monkey-patching
attributes onto a runtime-checkable protocol will still work, but will
have no impact on :func:`isinstance` checks comparing objects to the
Expand Down

0 comments on commit a29b86f

Please sign in to comment.