Skip to content

Commit

Permalink
Merge pull request #7959 from fritzr/3.x
Browse files Browse the repository at this point in the history
Fix typo in prepare_docstring() warning
  • Loading branch information
tk0miya committed Jul 15, 2020
2 parents 03e1070 + 1fe121e commit 6c8d100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/util/docstrings.py
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 6c8d100

Please sign in to comment.