diff --git a/Python/compile.c b/Python/compile.c index cb25da2f968..a178bdb4ab4 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -499,7 +499,7 @@ com_addopname(c, op, n) if (p + strlen(s) > buffer + (sizeof buffer) - 2) { err_setstr(MemoryError, "dotted_name too long"); - name == NULL; + name = NULL; break; } if (p != buffer)