diff options
-rw-r--r-- | Objects/longobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 7a70903..38ef89c 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -1812,8 +1812,7 @@ long_invert(PyLongObject *v) Py_DECREF(w); if (x == NULL) return NULL; - if (x->ob_size != 0) - x->ob_size = -(x->ob_size); + x->ob_size = -(x->ob_size); return (PyObject *)x; } |