summaryrefslogtreecommitdiff
path: root/tools/refguide_check.py
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2021-01-31 08:33:32 -0800
committerMatthias Bussonnier <bussonniermatthias@gmail.com>2021-01-31 08:42:13 -0800
commit71ac6b78a14206a8e3b8f5f7e55d0af8ef6b4bf5 (patch)
treeb794dae635c330f230d39547da5e918f3600746f /tools/refguide_check.py
parentde8bb00dbf007b65095e858ff2490b8df39b9047 (diff)
downloadnumpy-71ac6b78a14206a8e3b8f5f7e55d0af8ef6b4bf5.tar.gz
DOC: Nupydoc format space before `:` in Parameters
Missing `s` in two spellings.
Diffstat (limited to 'tools/refguide_check.py')
-rw-r--r--tools/refguide_check.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/refguide_check.py b/tools/refguide_check.py
index ddcc1028d..9a6d1c9f8 100644
--- a/tools/refguide_check.py
+++ b/tools/refguide_check.py
@@ -166,9 +166,8 @@ def short_path(path, cwd=None):
Parameters
----------
- path: str or None
-
- cwd: str or None
+ path : str or None
+ cwd : str or None
Returns
-------
@@ -344,8 +343,8 @@ def is_deprecated(f):
"""
Check if module `f` is deprecated
- Parameter
- ---------
+ Parameters
+ ----------
f : ModuleType
Returns
@@ -785,8 +784,7 @@ def _run_doctests(tests, full_name, verbose, doctest_warnings):
full_name : str
verbose : bool
-
- doctest_warning : bool
+ doctest_warnings : bool
Returns
-------