Skip to content
Search

PEP 544

lastmod 2024-09-25created 2024-09-243 edits

Protocols: Structural subtyping (static duck typing)

WARNING

The canonical typing specification is maintained on the typing specs site. Runtime typing behavior is described in the CPython documentation for Python:typing#Protocol.

See also

Favorite site

author Zer0 sitemap