PEP 702: fix typo (#3548)

This commit is contained in:
Viicos 2023-11-26 10:26:50 +01:00 committed by GitHub
parent 3db0f12cb1
commit a0ccdf5c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ To accommodate runtime introspection, the decorator sets an attribute
``__deprecated__`` on the object it is passed, as well as on the wrapper
callables it generates for deprecated classes and functions.
The value of the attribute is the message passed to the decorator.
Decorating objecs that do not allow setting this attribute is not supported.
Decorating objects that do not allow setting this attribute is not supported.
If a ``Protocol`` with the ``@runtime_checkable`` decorator is marked as deprecated,
the ``__deprecated__`` attribute should not be considered a member of the protocol,