len() should always return something

Dr. Phillip M. Feldman pfeldman at verizon.net
Sat Jul 25 04:33:30 CEST 2009

"As far as I know, there is no programming language which treats scalars like
ints as if they were 
vectors of length 1"

Actually, Matlab does:

>> length(5)
ans =
View this message in context: http://www.nabble.com/len%28%29-should-always-return-something-tp24639361p24654358.html
Sent from the Python - python-list mailing list archive at Nabble.com.

More information about the Python-list mailing list