Skip to content

Commit 44d919e

Browse files
Backport PR #39139: BUG: Placeholders not being filled on docstrings (#39231)
Co-authored-by: Micael Jarniac <[email protected]>
1 parent e0243ee commit 44d919e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/generic.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -10889,8 +10889,10 @@ def all(self, axis=0, bool_only=None, skipna=True, level=None, **kwargs):
1088910889
# [assignment]
1089010890
cls.all = all # type: ignore[assignment]
1089110891

10892+
# error: Argument 1 to "doc" has incompatible type "Optional[str]"; expected
10893+
# "Union[str, Callable[..., Any]]"
1089210894
@doc(
10893-
NDFrame.mad,
10895+
NDFrame.mad.__doc__, # type: ignore[arg-type]
1089410896
desc="Return the mean absolute deviation of the values "
1089510897
"over the requested axis.",
1089610898
name1=name1,

0 commit comments

Comments
 (0)