Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

"str" is not your string, it's not a string; "str" is a class name, a
standard type.

"str.join" is a unbound method. You can call it directly if you pass an
actual string object in front of the other arguments.
But the normal way to call methods is to use them on objects:

someString = ""
someList = ['f', 'r', 'e', 'd', ' ', 'i', 's']
someString.join(someList)

_______________________________________
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