Author gmseed
Recipients gmseed
Date 2011-06-10.13:29:03
SpamBayes Score 0.00311795
Marked as misclassified No
Message-id <>
The Jython documentation on your website states:

"The array module exports two factory functions:

array(type, sequence)
zeros(type, length)"

If I type:
arr = zeros('i',10)
I get the error:
'zeros' is not defined

Chapter 2 of the Jython book linked-to on your website at:

states in Listing 2-30:

arr2 = zeros(6, 'i')

noting that the ordering of the type and length are reversed. Using this ordering doesn't work either.

Thus, as a new user I am left wondering which way round the type and length are and whether this function is supported at all.
Date User Action Args
2011-06-10 13:29:04gmseedsetrecipients: + gmseed
2011-06-10 13:29:03gmseedsetmessageid: <>
2011-06-10 13:29:03gmseedlinkissue1756 messages
2011-06-10 13:29:03gmseedcreate