Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Protocols (a.k.a. structural subtyping) #11

Closed
@gvanrossum

Description

@gvanrossum

In mypy's typing,py there's a neat feature called Protocol. Perhaps we should add this to the PEP. Or perhaps it's similar to a Python ABC?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions