len() should always return something

Dr. Phillip M. Feldman pfeldman at verizon.net
Fri Jul 24 22:33:30 EDT 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 =
     1
>> 
-- 
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