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 | 4c9dace392c537c40c2721141aab98f5799aa38b (patch) | |
tree | 5204b2208cff83f5ac2743ea51fe5959b830aebc /Python/graminit.c | |
parent | 964c074a627cad21f072e9651067b8b120e3b3f7 (diff) | |
download | cpython-git-4c9dace392c537c40c2721141aab98f5799aa38b.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/graminit.c')
0 files changed, 0 insertions, 0 deletions