Skip to content

Commit bcee6d6

Browse files
authored
DOC: Fix docstring for pandas.util._decorators.doc (#52073)
1 parent c2ef58e commit bcee6d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/util/_decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ def wrapper(*args, **kwargs):
339339

340340
def doc(*docstrings: None | str | Callable, **params) -> Callable[[F], F]:
341341
"""
342-
A decorator take docstring templates, concatenate them and perform string
343-
substitution on it.
342+
A decorator to take docstring templates, concatenate them and perform string
343+
substitution on them.
344344
345345
This decorator will add a variable "_docstring_components" to the wrapped
346346
callable to keep track the original docstring template for potential usage.

0 commit comments

Comments
 (0)