Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 02d9e3b

Browse files
committed
__version__ and __all__.
1 parent 32b87e7 commit 02d9e3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hyper/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
A module for providing an abstraction layer over the differences between
77
HTTP/1.1 and HTTP/2.0.
88
"""
9+
__version__ = '0.0.1'
10+
911
from .http20.connection import HTTP20Connection
1012
from .http20.response import HTTP20Response
1113

1214
# Throw import errors on Python 2.
1315
import sys as _sys
1416
if _sys.version_info[0] < 3 or _sys.version_info[1] < 3:
1517
raise ImportError("hyper only supports Python 3.3 or higher.")
18+
19+
__all__ = [HTTP20Response, HTTP20Connection]

0 commit comments

Comments
 (0)