mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Eliminate duplicated assignment in _randommodule.c (GH-25904) (GH-25909)
This commit is contained in:
parent
7b4725a210
commit
b19ec7f9df
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(). */
|
||||
PyObject *longval = longval = PyLong_FromLong(0);
|
||||
PyObject *longval = PyLong_FromLong(0);
|
||||
if (longval == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue