Skip to content

Commit

Permalink
Fix typo in prepare_docstring() warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzr committed Jul 14, 2020
1 parent 03e1070 commit 1fe121e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/util/docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def prepare_docstring(s: str, ignore: int = None, tabsize: int = 8) -> List[str]
if ignore is None:
ignore = 1
else:
warnings.warn("The 'ignore' argument to parepare_docstring() is deprecated.",
warnings.warn("The 'ignore' argument to prepare_docstring() is deprecated.",
RemovedInSphinx50Warning, stacklevel=2)

lines = s.expandtabs(tabsize).splitlines()
Expand Down

0 comments on commit 1fe121e

Please sign in to comment.