Eliminate duplicated assignment in _randommodule.c (GH-25904) (GH-25909)

This commit is contained in:
Miss Islington (bot) 2021-05-04 21:39:09 -07:00 committed by GitHub
parent 7b4725a210
commit b19ec7f9df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -597,7 +597,7 @@ _random_exec(PyObject *module)
}
/* Look up and save int.__abs__, which is needed in random_seed(). */
PyObject *longval = longval = PyLong_FromLong(0);
PyObject *longval = PyLong_FromLong(0);
if (longval == NULL) {
return -1;
}