On 3/24/07, Robert Kern <[EMAIL PROTECTED]> wrote:

Charles R Harris wrote:
> In [10]: isscalar('hello world')
> Out[10]: True

As far as numpy is concerned, they are.

>>> from numpy import *
>>> array('hello world')
array('hello world',
      dtype='|S11')


Dunno, by that reasoning objects could also be considered scalars as they
can be elements of object arrays.

Chuck
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to