Message29379
This tells it all:
>>> str('sdfd', **a,)
File "<stdin>", line 1
str('sdfd', **a,)
^
SyntaxError: invalid syntax
>>> str('sdfd', *a,)
File "<stdin>", line 1
str('sdfd', *a,)
^
SyntaxError: invalid syntax
While the docs tell otherwise:
http://docs.python.org/ref/calls.html
While having arguments after ** doesn't make sense,
comma after ANY kinds of arguments seem to be more
consistent.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:41:43 | admin | link | issue1531016 messages |
2007-08-23 14:41:43 | admin | create | |
|