Skip to content

Commit 3b3bcf9

Browse files
MicaelJarniacnofarmish
authored andcommitted
BUG: Placeholders not being filled on docstrings (pandas-dev#39139)
1 parent 33c0015 commit 3b3bcf9

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

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

0 commit comments

Comments
 (0)