[Python-Dev] Misleading error message when multiple arguments for write() (original) (raw)
Hamish Lawson hamish_lawson@yahoo.co.uk
Tue, 30 Oct 2001 21:17:18 +0000 (GMT)
- Previous message: [Python-Dev] Re: OS/2 VAC++ patches
- Next message: [Python-Dev] Misleading error message when multiple arguments for write()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Re: OS/2 VAC++ patches
- Next message: [Python-Dev] Misleading error message when multiple arguments for write()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]