Skip to content

Fix __all__ list. - #213

Open
joernheissler wants to merge 1 commit into
python-hyper:masterfrom
joernheissler:fix/exports
Open

joernheissler wants to merge 1 commit into
python-hyper:masterfrom
joernheissler:fix/exports

Conversation

@joernheissler

Copy link
Copy Markdown

Add MIGHT_SWITCH_PROTOCOL and PRODUCT_ID to __all__.
Reorder ProtocolError and LocalProtocolError to make it consistent with the import.

mypy was complaining about the missing export:
error: Module "h11" does not explicitly export attribute "MIGHT_SWITCH_PROTOCOL" [attr-defined]

Add MIGHT_SWITCH_PROTOCOL and PRODUCT_ID.
Reorder ProtocolError and LocalProtocolError to make it consistent with
the import.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant