10000 Merge pull request #7299 from dongjoon-hyun/doc_fix_mismatched_variables · numpy/numpy@7d4d26a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d4d26a

Browse files
committed
Merge pull request #7299 from dongjoon-hyun/doc_fix_mismatched_variables
DOC: Fix mismatched variable names in docstrings.
2 parents 81db485 + 063f298 commit 7d4d26a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

numpy/core/tests/test_deprecations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ def assert_deprecated(self, function, num=1, ignore_others=False,
5858
5959
Parameters
6060
----------
61-
f : callable
61+
function : callable
6262
The function to test
6363
num : int
6464
Number of VisibleDeprecationWarnings to expect. This should
6565
normally be 1.
66-
ignore_other : bool
66+
ignore_others : bool
6767
Whether warnings of the wrong type should be ignored (note that
6868
the message is not checked)
6969
function_fails : bool
@@ -74,9 +74,9 @@ def assert_deprecated(self, function, num=1, ignore_others=False,
7474
The default checks for DeprecationWarnings. If exceptions is
7575
empty the function is expected to run successfull.
7676
args : tuple
77-
Arguments for `f`
77+
Arguments for `function`
7878
kwargs : dict
79-
Keyword arguments for `f`
79+
Keyword arguments for `function`
8080
"""
8181
# reset the log
8282
self.log[:] = []
@@ -175,9 +175,9 @@ def assert_deprecated(self, function, num=1, ignore_others=False,
175175
The default checks for DeprecationWarnings. If exceptions is
176176
empty the function is expected to run successfull.
177177
args : tuple
178-
Arguments for `f`
178+
Arguments for `function`
179179
kwargs : dict
180-
Keyword arguments for `f`
180+
Keyword arguments for `function`
181181
"""
182182
# reset the log
183183
self.log[:] = []

0 commit comments

Comments
 (0)
0