Skip to content

Commit 818c8d4

Browse files
suppress mypy about _is_gil_enabled
1 parent d8214ea commit 818c8d4

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
@@ -19,7 +19,7 @@
1919
WASM = (sys.platform == "emscripten") or (platform.machine() in ["wasm32", "wasm64"])
2020
ISMUSL = "musl" in (sysconfig.get_config_var("HOST_GNU_TYPE") or "")
2121
REF_COUNT = 2
22-
CHAINED_WARNING_DISABLED = PYPY or (PY314 and not sys._is_gil_enabled())
22+
CHAINED_WARNING_DISABLED = PYPY or (PY314 and not sys._is_gil_enabled()) # type: ignore[attr-defined]
2323
CHAINED_WARNING_DISABLED_INPLACE_METHOD = PYPY or PY314
2424

2525

0 commit comments

Comments
 (0)