diff options
author | Zackery Spytz <zspytz@gmail.com> | 2021-04-02 15:28:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 15:28:35 (GMT) |
commit | afd12650580725ac598b2845384771c14c4f952e (patch) | |
tree | 2290e54eaa5fdb75d0b0513f0e575c440150fafd /Doc/whatsnew | |
parent | 240bcf82a11fe7433a61da70605e924c53b88096 (diff) | |
download | cpython-afd12650580725ac598b2845384771c14c4f952e.zip cpython-afd12650580725ac598b2845384771c14c4f952e.tar.gz cpython-afd12650580725ac598b2845384771c14c4f952e.tar.bz2 |
bpo-31956: Add start and stop parameters to array.index() (GH-25059)
Co-Authored-By: Anders Lorentsen <Phaqui@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index b84bcf9..eb42480 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -633,6 +633,13 @@ argparse Misleading phrase "optional arguments" was replaced with "options" in argparse help. Some tests might require adaptation if they rely on exact output match. (Contributed by Raymond Hettinger in :issue:`9694`.) +array +----- + +The :meth:`~array.array.index` method of :class:`array.array` now has +optional *start* and *stop* parameters. +(Contributed by Anders Lorentsen and Zackery Spytz in :issue:`31956`.) + base64 ------ |