summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2020-07-10 13:24:30 -0700
committerMatthias Bussonnier <bussonniermatthias@gmail.com>2020-07-10 13:24:30 -0700
commit7eb261d028f0f31c4851ea19f17c9c36c616009c (patch)
tree5190c6eb21d26bec4706cdb40792fac72303c7bc /numpy
parent34b748bbce51f880c712312b9c2d37a3560628c0 (diff)
downloadnumpy-7eb261d028f0f31c4851ea19f17c9c36c616009c.tar.gz
DOC: Fix RST/numpydoc standard.
One of the header line was not long enough, make it the same length as the title. The section "Arguments" is usually called "Parameters". Update for consistency.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/overrides.py4
-rw-r--r--numpy/random/bit_generator.pyx2
2 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/overrides.py b/numpy/core/overrides.py
index 55c7bd1ea..816b11293 100644
--- a/numpy/core/overrides.py
+++ b/numpy/core/overrides.py
@@ -20,8 +20,8 @@ add_docstring(
All arguments are required, and can only be passed by position.
- Arguments
- ---------
+ Parameters
+ ----------
implementation : function
Function that implements the operation on NumPy array without
overrides when called like ``implementation(*args, **kwargs)``.
diff --git a/numpy/random/bit_generator.pyx b/numpy/random/bit_generator.pyx
index 3c52a9933..9b0c363ef 100644
--- a/numpy/random/bit_generator.pyx
+++ b/numpy/random/bit_generator.pyx
@@ -507,7 +507,7 @@ cdef class BitGenerator():
lock.
See Also
- -------
+ --------
SeedSequence
"""