Skip to content

Commit 97ce3fb

Browse files
BUG: Placeholders not being filled on docstrings (#39139)
1 parent 085ba15 commit 97ce3fb

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
@@ -10587,8 +10587,10 @@ def all(self, axis=0, bool_only=None, skipna=True, level=None, **kwargs):
1058710587
# [assignment]
1058810588
cls.all = all # type: ignore[assignment]
1058910589

10590+
# error: Argument 1 to "doc" has incompatible type "Optional[str]"; expected
10591+
# "Union[str, Callable[..., Any]]"
1059010592
@doc(
10591-
NDFrame.mad,
10593+
NDFrame.mad.__doc__, # type: ignore[arg-type]
1059210594
desc="Return the mean absolute deviation of the values "
1059310595
"over the requested axis.",
1059410596
name1=name1,

0 commit comments

Comments
 (0)