mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix typo in prepare_docstring() warning
This commit is contained in:
parent
03e1070888
commit
1fe121e078
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user