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 eeb23d4 commit 3e83d3aCopy full SHA for 3e83d3a
1 file changed
Objects/namespaceobject.c
@@ -126,6 +126,7 @@ namespace_repr(PyObject *ns)
126
127
if (PyDict_GetItemRef(d, key, &value) == 1) {
128
item = PyUnicode_FromFormat("%U=%R", key, value);
129
+ Py_DECREF(value);
130
if (item == NULL) {
131
loop_error = 1;
132
}
0 commit comments