Commit 4c9dace
committed
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 arguments1 parent 964c074 commit 4c9dace
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1970 | 1970 | | |
1971 | 1971 | | |
1972 | 1972 | | |
1973 | | - | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
1974 | 1977 | | |
1975 | 1978 | | |
1976 | 1979 | | |
1977 | 1980 | | |
1978 | | - | |
| 1981 | + | |
1979 | 1982 | | |
1980 | 1983 | | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | 1984 | | |
1986 | 1985 | | |
1987 | 1986 | | |
| |||
0 commit comments