Kaydet (Commit) 40c397dd authored tarafından Tim Peters's avatar Tim Peters

long_invert(): tiny speed and space optimization.

üst 9a9471ca
......@@ -1812,7 +1812,6 @@ long_invert(PyLongObject *v)
Py_DECREF(w);
if (x == NULL)
return NULL;
if (x->ob_size != 0)
x->ob_size = -(x->ob_size);
return (PyObject *)x;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment