summaryrefslogtreecommitdiffstats
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r--Objects/codeobject.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index 7aeddcc..b9a26ba 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -66,9 +66,6 @@ PyCode_New(int argcount, int kwonlyargcount,
PyErr_BadInternalCall();
return NULL;
}
- Py_INCREF(name);
- Py_INCREF(filename);
-
intern_strings(names);
intern_strings(varnames);
intern_strings(freevars);
@@ -110,7 +107,6 @@ PyCode_New(int argcount, int kwonlyargcount,
co->co_lnotab = lnotab;
co->co_zombieframe = NULL;
}
- Py_DECREF(name);
return co;
}