# [PYTHON MATRIX-SIG] Re: zeros with single integer

**Jim Hugunin
**
hugunin@mit.edu

*Wed, 14 Aug 1996 10:12:51 -0400*

tim@lassi.ece.uiuc.edu wrote:
>* On a different note: zeros is sort of uninformative if you give it a
*>* number instead of a tuple (an easy mistake...).
*>* >>> from Numeric import *
*>* >>> zeros(5)
*
I find this so common that zeros will now accept a single integer
instead of a 1 dimensional tuple. This makes the error message
completely go away.
-Jim
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================