summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/__init__.py2
-rw-r--r--numpy/core/_add_newdocs.py2
-rw-r--r--numpy/core/numeric.py2
-rw-r--r--numpy/lib/_datasource.py5
-rw-r--r--numpy/lib/arraysetops.py2
5 files changed, 7 insertions, 6 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index 46d80fb76..45b0cf23c 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -11,7 +11,7 @@ How to use the documentation
----------------------------
Documentation is available in two forms: docstrings provided
with the code, and a loose standing reference guide, available from
-`the NumPy homepage <https://www.scipy.org>`_.
+`the NumPy homepage <https://numpy.org>`_.
We recommend exploring the docstrings using
`IPython <https://ipython.org>`_, an advanced Python shell with
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py
index 80409669d..23e82af93 100644
--- a/numpy/core/_add_newdocs.py
+++ b/numpy/core/_add_newdocs.py
@@ -384,7 +384,7 @@ add_newdoc('numpy.core', 'nditer',
>>> luf(lambda i,j:i*i + j/2, a, b)
array([ 0.5, 1.5, 4.5, 9.5, 16.5])
- If operand flags `"writeonly"` or `"readwrite"` are used the
+ If operand flags ``"writeonly"`` or ``"readwrite"`` are used the
operands may be views into the original data with the
`WRITEBACKIFCOPY` flag. In this case `nditer` must be used as a
context manager or the `nditer.close` method must be called before
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 39bfc2d55..b89bbe457 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1567,7 +1567,7 @@ def cross(a, b, axisa=-1, axisb=-1, axisc=-1, axis=None):
array(-3)
Multiple vector cross-products. Note that the direction of the cross
- product vector is defined by the `right-hand rule`.
+ product vector is defined by the *right-hand rule*.
>>> x = np.array([[1,2,3], [4,5,6]])
>>> y = np.array([[4,5,6], [1,2,3]])
diff --git a/numpy/lib/_datasource.py b/numpy/lib/_datasource.py
index 8201d3772..b7778234e 100644
--- a/numpy/lib/_datasource.py
+++ b/numpy/lib/_datasource.py
@@ -280,8 +280,9 @@ class DataSource:
def _splitzipext(self, filename):
"""Split zip extension from filename and return filename.
- *Returns*:
- base, zip_ext : {tuple}
+ Returns
+ -------
+ base, zip_ext : {tuple}
"""
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py
index bd56b6975..d44e1a983 100644
--- a/numpy/lib/arraysetops.py
+++ b/numpy/lib/arraysetops.py
@@ -640,7 +640,7 @@ def _isin_dispatcher(element, test_elements, assume_unique=None, invert=None):
@array_function_dispatch(_isin_dispatcher)
def isin(element, test_elements, assume_unique=False, invert=False):
"""
- Calculates `element in test_elements`, broadcasting over `element` only.
+ Calculates ``element in test_elements``, broadcasting over `element` only.
Returns a boolean array of the same shape as `element` that is True
where an element of `element` is in `test_elements` and False otherwise.