jeff deifik <[EMAIL PROTECTED]> added the comment:

Yes, it was
 import string
 string.join(lis, '')

I am still a bit confused though.
Why doesn't my code of str.join(lis, '') work?

I don't think str is a reserved word.
I suppose that python might be able to deduce that str is of type
string, based on join being called on it.
Is the problem that python thinks my str is of type list?

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to