We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfcfbd commit 171a809Copy full SHA for 171a809
roundup/anypy/http_.py
@@ -1,8 +1,7 @@
1
try:
2
# Python 3+
3
from http import client, server
4
- server.DEFAULT_ERROR_MESSAGE
5
except (ImportError, AttributeError):
6
# Python 2.5-2.7
7
- import httplib as client # noqa: F401
8
- import BaseHTTPServer as server # noqa: F401
+ import BaseHTTPServer as server # noqa: F401
+ import httplib as client # noqa: F401
0 commit comments