summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-06-03 10:59:28 -0700
committerGitHub <noreply@github.com>2022-06-03 10:59:28 -0700
commit92c4b11d8d488f87d71890dc7aac80a877f8b379 (patch)
tree489bd5f3d59d651c6bf5c09f931a83b1597134a1 /numpy
parent0435145f173d88cf928d346438abf8a8f5515eda (diff)
parent4ba1427ddd6a7a953cabc402b07ded0069ade039 (diff)
downloadnumpy-92c4b11d8d488f87d71890dc7aac80a877f8b379.tar.gz
Merge pull request #21662 from Carreau/np-dbt
DOC: ``np`` in double backticks.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index 45b0cf23c..aae5c95ac 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -18,7 +18,7 @@ We recommend exploring the docstrings using
TAB-completion and introspection capabilities. See below for further
instructions.
-The docstring examples assume that `numpy` has been imported as `np`::
+The docstring examples assume that `numpy` has been imported as ``np``::
>>> import numpy as np
@@ -86,7 +86,7 @@ __version__
Viewing documentation using IPython
-----------------------------------
Start IPython with the NumPy profile (``ipython -p numpy``), which will
-import `numpy` under the alias `np`. Then, use the ``cpaste`` command to
+import `numpy` under the alias ``np``. Then, use the ``cpaste`` command to
paste examples into the shell. To see which functions are available in
`numpy`, type ``np.<TAB>`` (where ``<TAB>`` refers to the TAB key), or use
``np.*cos*?<ENTER>`` (where ``<ENTER>`` refers to the ENTER key) to narrow