8000 Merge pull request #20243 from lalitmusmade/first_attempt · thomasjpfan/numpy@9bc4da7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bc4da7

Browse files
authored
Merge pull request numpy#20243 from lalitmusmade/first_attempt
DOC: Fixes wording for fmod and remainder functions.
2 parents d85523a + d86cad8 commit 9bc4da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/core/code_generators/ufunc_docstrings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ def add_newdoc(place, name, doc):
14201420

14211421
add_newdoc('numpy.core.umath', 'fmod',
14221422
"""
1423-
Return the element-wise remainder of division.
1423+
Returns the element-wise remainder of division.
14241424
14251425
This is the NumPy implementation of the C library function fmod, the
14261426
remainder has the same sign as the dividend `x1`. It is equivalent to
@@ -3332,7 +3332,7 @@ def add_newdoc(place, name, doc):
33323332

33333333
add_newdoc('numpy.core.umath', 'remainder',
33343334
"""
3335-
Return element-wise remainder of division.
3335+
Returns the element-wise remainder of division.
33363336
33373337
Computes the remainder complementary to the `floor_divide` function. It is
33383338
equivalent to the Python modulus operator``x1 % x2`` and has the same sign

0 commit comments

Comments
 (0)
0