summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 41d31d2..0edbc52 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1714,6 +1714,7 @@ com_argument(struct compiling *c, node *n, PyObject **pkeywords)
}
else {
PyObject *v = PyString_InternFromString(STR(m));
+ (void) none_assignment_check(c, STR(m), 1);
if (v != NULL && *pkeywords == NULL)
*pkeywords = PyDict_New();
if (v == NULL)