Skip to content

Commit 6bc135f

Browse files
committed
Fixes
1 parent 1bdc13e commit 6bc135f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pandas/core/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def fill_missing_names(names: Sequence[Hashable | None]) -> list[Hashable]:
652652
return [f"level_{i}" if name is None else name for i, name in enumerate(names)]
653653

654654

655-
def _depr_core():
655+
def _depr_core() -> None:
656656
warnings.warn(
657657
"pandas.core is deprecated and has been renamed to "
658658
"pandas._core. Accessing `_core` directly is discouraged as "

scripts/validate_unwanted_patterns.py

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
"_version_meson",
5454
# TODO(3.0): GH#55043 - remove upon removal of ArrayManager
5555
"_get_option",
56+
# GH#27522
57+
"_depr_core",
5658
}
5759

5860

0 commit comments

Comments
 (0)