Thanks to visit codestin.com Credit goes to github.com
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 da452bf commit 54892c4Copy full SHA for 54892c4
1 file changed
Python/sysmodule.c
@@ -400,6 +400,7 @@ _PySys_Init()
400
Py_XDECREF(syserr);
401
PyDict_SetItemString(sysdict, "version",
402
v = PyString_FromString(Py_GetVersion()));
403
+ Py_XDECREF(v);
404
PyDict_SetItemString(sysdict, "hexversion",
405
v = PyInt_FromLong(PY_VERSION_HEX));
406
Py_XDECREF(v);
0 commit comments