[Python-Dev] Misleading error message when multiple arguments for write()

Hamish Lawson hamish_lawson@yahoo.co.uk
Tue, 30 Oct 2001 21:17:18 +0000 (GMT)


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.