diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-05-29 16:23:26 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-05-29 16:23:26 +0000 |
commit | 441dcde7f616f7e6535f0f2b333ef84cb6847dff (patch) | |
tree | 746625b66ed99c9c0db05d6cdc7c420fb339c761 /Python/errors.c | |
parent | 48d5c1d3077dfdb523cce7dc614a73e299cb06c8 (diff) | |
download | cpython-441dcde7f616f7e6535f0f2b333ef84cb6847dff.tar.gz |
Fix bug reported by Tim Peters on python-dev:
Keyword arguments passed to builtin functions that don't take them are
ignored.
>>> {}.clear(x=2)
>>>
instead of
>>> {}.clear(x=2)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: clear() takes no keyword arguments
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions