mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Eliminate duplicated assignment in _randommodule.c (GH-25904)
This commit is contained in:
parent
6fdc4d37f3
commit
23362f8c30
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ _random_exec(PyObject *module)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Look up and save int.__abs__, which is needed in random_seed(). */
|
/* 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) {
|
if (longval == NULL) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue