Hi!

it is interesting that I found this syntax error:

>>> a = {}
>>> str('sdfd', **a,)
  File "<stdin>", line 1
    str('sdfd', **a,)
                   ^
SyntaxError: invalid syntax


I just wonder is it intentional or by-product (bug or feature)?
(The behaviour makes sense, of course... I tend to leave commas when I
expect a list to be added to (i.e. almost always ;-)))


Regards,
Roman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to