usse/scrape/venv/lib/python3.10/site-packages/pandas/compat/_constants.py

28 lines
404 B
Python
Raw Normal View History

2023-12-22 14:26:01 +00:00
"""
_constants
======
Constants relevant for the Python implementation.
"""
from __future__ import annotations
import platform
import sys
IS64 = sys.maxsize > 2**32
PY39 = sys.version_info >= (3, 9)
PY310 = sys.version_info >= (3, 10)
PY311 = sys.version_info >= (3, 11)
PYPY = platform.python_implementation() == "PyPy"
__all__ = [
"IS64",
"PY39",
"PY310",
"PY311",
"PYPY",
]