We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd71fa commit ce3c77cCopy full SHA for ce3c77c
Parser/asdl_c.py
@@ -702,7 +702,7 @@ def visitModule(self, mod):
702
while (PyDict_Next(kw, &i, &key, &value)) {
703
PyObject* pos = _PyObject_FastCallDict(index, &key, 1, NULL);
704
PyObject* err = PyErr_Occurred();
705
- if (pos == NULL || err != NULL) {
+ if (pos == NULL) {
706
// arbitrary keyword arguments are accepted
707
if (!PyErr_GivenExceptionMatches(err, PyExc_ValueError)) {
708
res = -1;
0 commit comments