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

This commit is contained in:
Brad Larsen 2021-05-04 23:41:11 -04:00 committed by GitHub
parent 6fdc4d37f3
commit 23362f8c30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}