Closed jvirtanen closed 1 year ago
Use structural subtyping for module interfaces.
As the Protocol class becomes a part of the typing module only in Python 3.8, start requiring Python 3.8 or newer.
Protocol
typing
Use structural subtyping for module interfaces.
As the
Protocol
class becomes a part of thetyping
module only in Python 3.8, start requiring Python 3.8 or newer.