diff options
| author | Melissa Weber Mendonça <melissawm@gmail.com> | 2021-10-30 14:00:46 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-30 14:00:46 -0300 |
| commit | 9bc4da700932e3cb90a40d3c0e8faf13bc8150ec (patch) | |
| tree | 0dab4812fef7791071a541832b674fe4da2acd7f /numpy | |
| parent | d85523a7433baab1734a5436123cda9497124516 (diff) | |
| parent | d86cad8f714c16f00f483d84f08cc89ec2bf029c (diff) | |
| download | numpy-9bc4da700932e3cb90a40d3c0e8faf13bc8150ec.tar.gz | |
Merge pull request #20243 from lalitmusmade/first_attempt
DOC: Fixes wording for fmod and remainder functions.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/code_generators/ufunc_docstrings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py index ab5f74df3..8d9316f2c 100644 --- a/numpy/core/code_generators/ufunc_docstrings.py +++ b/numpy/core/code_generators/ufunc_docstrings.py @@ -1420,7 +1420,7 @@ add_newdoc('numpy.core.umath', 'floor_divide', add_newdoc('numpy.core.umath', 'fmod', """ - Return the element-wise remainder of division. + Returns the element-wise remainder of division. This is the NumPy implementation of the C library function fmod, the remainder has the same sign as the dividend `x1`. It is equivalent to @@ -3332,7 +3332,7 @@ add_newdoc('numpy.core.umath', 'reciprocal', add_newdoc('numpy.core.umath', 'remainder', """ - Return element-wise remainder of division. + Returns the element-wise remainder of division. Computes the remainder complementary to the `floor_divide` function. It is equivalent to the Python modulus operator``x1 % x2`` and has the same sign |
