exception message output problem
Lie
Lie.1296 at gmail.com
Sat Dec 22 04:03:31 EST 2007
More information about the Python-list mailing list
Sat Dec 22 04:03:31 EST 2007
- Previous message (by thread): exception message output problem
- Next message (by thread): exception message output problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
PPS: Actually, what makes a tuple is both the parens and the comma, with comma as the minimum signifier, inspect this: "str(a) + str((a,b,c))", you have to use the double parens, one to make the tuple and the other as part of the str. This harmless little case gives error if done without the double parens, but what would happen if we exchange the str into a function that accepts one argument and several optional arguments (or better yet, one argument and an optional * argument)?
- Previous message (by thread): exception message output problem
- Next message (by thread): exception message output problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list