Add comment for distutils shim

This commit is contained in:
thePR0M3TH3AN committed 2025-06-01 11:10:47 -04:00
1 parent b2db3573b6
commit 79862fdcfe
1 file changed
+1
+1
View File
@@ -24,6 +24,7 @@ logger = logging.getLogger(__name__)
try: # pragma: no cover - prefer stdlib when available
from distutils.version import LooseVersion # type: ignore
except ModuleNotFoundError: # pragma: no cover - Python >=3.12
# Work around pandas_datareader < 0.11 on Python 3.12+ without distutils
from packaging.version import Version
import types, sys