On Thu, Feb 20, 2020 at 6:00 AM Steve Jorgensen <stevecjor@gmail.com> wrote:
It would be nice for the supported operators to be documented at all, actually.

It is a mutable sequence -/ is that not clear from the docs?

I don’t think it should have a length argument, but maybe a “filled_with” constructor, like numpy’s ones(), zeros(), and empty().

-CHB


I didn't realize that array.array had multiplication operator support at all until I got around to dir-ing an instance.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/P74LYDOFELXWCKLLI34YEZIZLKSLBF7A/
Code of Conduct: http://python.org/psf/codeofconduct/
--
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython