Skip to content

Commit c8bb241

Browse files
[doc] Update references to NumPy (pythonGH-22458)
Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time.
1 parent bd0a08e commit c8bb241

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

Doc/faq/programming.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ difference is that a Python list can contain objects of many different types.
11911191

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

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

Doc/library/array.rst

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

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

Doc/library/functions.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -1512,14 +1512,12 @@ are always available. They are listed here in alphabetical order.
15121512
.. class:: slice(stop)
15131513
slice(start, stop[, step])
15141514

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

Doc/tutorial/floatingpoint.rst

+1-1
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)