Skip to content

Commit d747f5e

Browse files
[doc] Update references to NumPy (GH-22458) (GH-28749)
Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time. (cherry picked from commit c8bb241) Co-authored-by: Andre Delfino <[email protected]>
1 parent 1374459 commit d747f5e

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ difference is that a Python list can contain objects of many different types.
11841184

11851185
The ``array`` module also provides methods for creating arrays of fixed types
11861186
with compact representations, but they are slower to index than lists. Also
1187-
note that the Numeric extensions and others define array-like structures with
1187+
note that NumPy and other third party packages define array-like structures with
11881188
various characteristics as well.
11891189

11901190
To get Lisp-style linked lists, you can emulate cons cells using tuples::

Doc/library/array.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ Examples::
256256
Packing and unpacking of External Data Representation (XDR) data as used in some
257257
remote procedure call systems.
258258

259-
`The Numerical Python Documentation <https://docs.scipy.org/doc/>`_
260-
The Numeric Python extension (NumPy) defines another array type; see
261-
http://www.numpy.org/ for further information about Numerical Python.
259+
`NumPy <https://numpy.org/>`_
260+
The NumPy package defines another array type.
262261

Doc/library/functions.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,14 +1513,12 @@ are always available. They are listed here in alphabetical order.
15131513
.. class:: slice(stop)
15141514
slice(start, stop[, step])
15151515

1516-
.. index:: single: Numerical Python
1517-
15181516
Return a :term:`slice` object representing the set of indices specified by
15191517
``range(start, stop, step)``. The *start* and *step* arguments default to
15201518
``None``. Slice objects have read-only data attributes :attr:`~slice.start`,
15211519
:attr:`~slice.stop` and :attr:`~slice.step` which merely return the argument
15221520
values (or their default). They have no other explicit functionality;
1523-
however they are used by Numerical Python and other third party extensions.
1521+
however they are used by NumPy and other third party packages.
15241522
Slice objects are also generated when extended indexing syntax is used. For
15251523
example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See
15261524
:func:`itertools.islice` for an alternate version that returns an iterator.

Doc/tutorial/floatingpoint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ which implements arithmetic based on rational numbers (so the numbers like
158158
1/3 can be represented exactly).
159159

160160
If you are a heavy user of floating point operations you should take a look
161-
at the Numerical Python package and many other packages for mathematical and
161+
at the NumPy package and many other packages for mathematical and
162162
statistical operations supplied by the SciPy project. See <https://scipy.org>.
163163

164164
Python provides tools that may help on those rare occasions when you really

0 commit comments

Comments
 (0)