len() should always return something

Joel Koltner zapwireDASHgroups at yahoo.com
Mon Jul 27 17:04:20 EDT 2009

"Dr. Phillip M. Feldman" <pfeldman at verizon.net> wrote in message 
news:mailman.3699.1248490256.8015.python-list at python.org...
> Here's a simple-minded example:
> This function works fine if xs is a list of floats, but not if it is single
> float.  It can be made to work as follows:

Wow, you could substitute "Matlab" for "Python" in your post and it'd still be 
just as good. :-)

More information about the Python-list mailing list