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 190a69e commit dc83493Copy full SHA for dc83493
pandas/compat/__init__.py
@@ -14,14 +14,12 @@
14
Other items:
15
* platform checker
16
"""
17
-# pylint disable=W0611
18
-# flake8: noqa
19
20
-import re
21
-from distutils.version import LooseVersion
22
-import sys
+from distutils.version import LooseVersion # noqa
23
import platform
+import re
24
import struct
+import sys
25
26
PY36 = sys.version_info >= (3, 6)
27
PY37 = sys.version_info >= (3, 7)
@@ -110,6 +108,7 @@ def raise_with_traceback(exc, traceback=Ellipsis):
110
108
_, _, traceback = sys.exc_info()
111
109
raise exc.with_traceback(traceback)
112
+
113
# In Python 3.7, the private re._pattern_type is removed.
114
# Python 3.5+ have typing.re.Pattern
115
if PY36:
0 commit comments