This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: array module has undocumented features
Type: Stage:
Components: Documentation Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, phr
Priority: normal Keywords:

Created on 2002-02-17 15:01 by phr, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg9288 - (view) Author: paul rubin (phr) Date: 2002-02-17 15:01
It turns out arrays support list slice operations and
string operations:

p = array('B','potato')
p[2:2]=array('B','banana')  # works!  insert banana
re.search('ta',p).span()    # also works!

I wouldn't have guessed from the docs for the array
module that the slice and regexp operations were
supported.  If they're "officially" supposed to work,
the doc should be say so.
msg9289 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-04-01 23:05
Logged In: YES 
user_id=3066

Fixed in Doc/lib/libarray.tex revision 1.31.8.1, clarified
in 1.33.
History
Date User Action Args
2022-04-10 16:05:00adminsetgithub: 36114
2002-02-17 15:01:18phrcreate