New submission from ramalho <luci...@ramalho.org>:

The typing module documentation 
(https://docs.python.org/3/library/typing.html#typing.SupportsInt) does not 
mention that the protocols listed below are all decorated with 
`@runtime_checkable`. This should mentioned in the entry for each protocol and 
also in the entry for `@runtime_checkable`

* SupportsAbs
* SupportsBytes
* SupportsComplex
* SupportsFloat
* SupportsIndex
* SupportsInt
* SupportsRound

----------
assignee: docs@python
components: Documentation
messages: 371513
nosy: docs@python, ramalho
priority: normal
severity: normal
status: open
title: Document that typing.SupportsXXX protocols are runtime checkable
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to