[doc] Update references to NumPy (GH-22458)

Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time.
This commit is contained in:
Andre Delfino 2020-10-01 20:22:14 -03:00 committed by GitHub
parent bd0a08ea90
commit c8bb24166e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 8 deletions

View file

@ -1512,14 +1512,12 @@ are always available. They are listed here in alphabetical order.
.. class:: slice(stop)
slice(start, stop[, step])
.. index:: single: Numerical Python
Return a :term:`slice` object representing the set of indices specified by
``range(start, stop, step)``. The *start* and *step* arguments default to
``None``. Slice objects have read-only data attributes :attr:`~slice.start`,
:attr:`~slice.stop` and :attr:`~slice.step` which merely return the argument
values (or their default). They have no other explicit functionality;
however they are used by Numerical Python and other third party extensions.
however they are used by NumPy and other third party packages.
Slice objects are also generated when extended indexing syntax is used. For
example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See
:func:`itertools.islice` for an alternate version that returns an iterator.