string split

Greg Ewing see_reply_address at something.invalid
Mon Dec 9 20:20:14 EST 2002


Dennis Lee Bieber wrote:

>         As others have mentioned, you likely are NOT passing in a string, but 
> rather a list of strings.


It's a bit of a puzzle how Lily manage to get 'List objects
are unhashable', though. If you pass a list to string.split()
you get

   AttributeError: 'list' object has no attribute 'split'

Maybe the error didn't come from where she thought it came
from?

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list