mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[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:
parent
bd0a08ea90
commit
c8bb24166e
4 changed files with 5 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue