This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, benjamin.peterson, giampaolo.rodola, gungorbasa, nedbat, r.david.murray, rbp, rhettinger
Date 2010-06-25.18:34:48
SpamBayes Score 1.6885236e-06
Marked as misclassified No
Message-id <1277490890.75.0.150457229878.issue2516@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a similar issue which may be easier to fix:


>>> def f(a, b=None, *, c=None, d=None):
...    pass


>>> f(1,2,3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: f() takes at most 4 arguments (3 given)


Should be "f() takes at most 2 positional arguments (3 given)"
History
Date User Action Args
2010-06-25 18:34:51belopolskysetrecipients: + belopolsky, rhettinger, giampaolo.rodola, nedbat, benjamin.peterson, rbp, r.david.murray, gungorbasa
2010-06-25 18:34:50belopolskysetmessageid: <1277490890.75.0.150457229878.issue2516@psf.upfronthosting.co.za>
2010-06-25 18:34:48belopolskylinkissue2516 messages
2010-06-25 18:34:48belopolskycreate