Misleading error message when multiple arguments for write()

The reference to 'tuple' in the error message below seems misleading. Too many arguments have been passed rather than a tuple. Traceback (most recent call last): File "C:\Temp\demo.py", line 3, in ? sys.stdout.write("a", "b") TypeError: argument must be string or read-only character buffer, not tuple Hamish Lawson ____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.

While you've reached the right audience, and this is indeed a bug(let), python-dev is not the right medium for bug reports. Please submit this to the SourceForge bug tracker, which acts as our collective memory for bugs. --Guido van Rossum (home page: http://www.python.org/~guido/)

While you've reached the right audience, and this is indeed a bug(let), python-dev is not the right medium for bug reports. Please submit this to the SourceForge bug tracker, which acts as our collective memory for bugs. --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (2)
-
Guido van Rossum
-
Hamish Lawson