We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783af28 commit 32d9407Copy full SHA for 32d9407
pandas/compat/__init__.py
@@ -41,7 +41,7 @@
41
42
PY2 = sys.version_info[0] == 2
43
PY3 = (sys.version_info[0] >= 3)
44
-PY35 = (sys.version_info >= (3, 5, 4))
+PY35 = (sys.version_info >= (3, 5))
45
PY36 = (sys.version_info >= (3, 6))
46
PYPY = (platform.python_implementation() == 'PyPy')
47
@@ -425,7 +425,7 @@ def raise_with_traceback(exc, traceback=Ellipsis):
425
426
# In Python 3.7, the private re._pattern_type is removed.
427
# Python 3.5+ have typing.re.Pattern
428
-if PY35:
+if sys.version_info >= (3, 5, 4):
429
import typing
430
re_type = typing.re.Pattern
431
else:
0 commit comments