You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks the remaining things needed for making user-defined protocols work.
Now that #3132 was merged, mypy understand protocols. However, we still need runtime support for protocols (the Protocol class) and Protocol needs to be added to typeshed before protocols can actually be used in user code.
This issue tracks the remaining things needed for making user-defined protocols work.
Now that #3132 was merged, mypy understand protocols. However, we still need runtime support for protocols (the
Protocol
class) andProtocol
needs to be added to typeshed before protocols can actually be used in user code.See also #3132 (comment).
Switching ABCs in
typing
to be protocols is a separate issue and requires coordination with other users of typeshed.The text was updated successfully, but these errors were encountered: