
July 22, 2011
7:04 p.m.
Am 22.07.2011 20:27, schrieb Alex Gaynor:
Philip Jenvey <pjenvey@...> writes:
+1, Jython's had a custom function for this forever, originally from its old jarray module: jarray.zeros(length, typecode). I think its swapped order of args are due to jarray probably predating the array module.
-- Philip Jenvey
array.zeroes(typecode, length) seems like a good API to me. It's also consistant with the name for the numpy method which does the same.
Would have to be array.zeros() then :) Georg