-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While looking at #52, I noticed that `httptools.__all__` is incorrect and doesn't actually include everything that is exported by the module, which might entice the users to import from the private submodule directly. Fixes: #52
- Loading branch information
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from .parser import parser | ||
from . import parser | ||
from .parser import * # NOQA | ||
|
||
from ._version import __version__ # NOQA | ||
|
||
__all__ = parser.__all__ # NOQA | ||
__all__ = parser.__all__ + ('__version__',) # NOQA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from .parser import * | ||
from .errors import * | ||
from .parser import * # NoQA | ||
from .errors import * # NoQA | ||
|
||
|
||
__all__ = parser.__all__ + errors.__all__ | ||
__all__ = parser.__all__ + errors.__all__ # NoQA |