Skip to content

Commit a866149

Browse files
committed
reverse condition
1 parent 5a6052b commit a866149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/compat/_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
PY313 = sys.version_info >= (3, 13)
1919
PYPY = platform.python_implementation() == "PyPy"
2020
WASM = (sys.platform == "emscripten") or (platform.machine() in ["wasm32", "wasm64"])
21-
IS_FREE_THREADING = False if not PY313 else sys._is_gil_enabled() # type: ignore[attr-defined]
21+
IS_FREE_THREADING = False if not PY313 else not sys._is_gil_enabled() # type: ignore[attr-defined]
2222
ISMUSL = "musl" in (sysconfig.get_config_var("HOST_GNU_TYPE") or "")
2323
REF_COUNT = 2 if PY311 else 3
2424

0 commit comments

Comments
 (0)