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 4e7e7f0Copy full SHA for 4e7e7f0
pandas/compat/__init__.py
@@ -14,14 +14,11 @@
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
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 +107,7 @@ def raise_with_traceback(exc, traceback=Ellipsis):
110
107
_, _, traceback = sys.exc_info()
111
108
raise exc.with_traceback(traceback)
112
109
+
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