PEP 702: fix typo (#3548)
This commit is contained in:
parent
3db0f12cb1
commit
a0ccdf5c68
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue