[issue21180] Cannot efficiently create empty array.array of given size, inconsistency with bytearray

Serhiy Storchaka report at bugs.python.org
Tue Apr 8 19:12:23 CEST 2014


Serhiy Storchaka added the comment:

>>> array.array('i', [0]) * 3
array('i', [0, 0, 0])

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21180>
_______________________________________


More information about the Python-bugs-list mailing list