diff --git a/Python/compile.c b/Python/compile.c index eeccd111700..5b23e61ff60 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -707,7 +707,6 @@ compiler_scope_qualname(struct compiler *c, identifier scope_name) goto _error; name = PyUnicode_Join(dot_str, seq); Py_DECREF(seq); - Py_XINCREF(name); return name; _error: