The most annoying typo error...

Ulrich Petri ulope at gmx.de
Wed May 7 15:04:42 EDT 2003


"Peter Ballard" <pballard at ozemail.com.au> schrieb im Newsbeitrag
news:9d5509fa.0305070000.55b11d6 at posting.google.com...
> ....Is when I do something like this:
>
> x = somefunction(a, b, c, d),
>
> and when I run Python I get a TypeError error.
>
> You spotted the error immediately didn't you? The line of code above
> has a trailing comma, so that x is suddenly a tuple; and so when I get
> around to using x I get a TypeError.
>

It my seem a bit harsh, but i'd suggest you attend a typing course and / or
type less fast.

Ciao Ulrich






More information about the Python-list mailing list