Skip to content

Commit b19ec7f

Browse files
Eliminate duplicated assignment in _randommodule.c (GH-25904) (GH-25909)
1 parent 7b4725a commit b19ec7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_randommodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ _random_exec(PyObject *module)
597597
}
598598

599599
/* Look up and save int.__abs__, which is needed in random_seed(). */
600-
PyObject *longval = longval = PyLong_FromLong(0);
600+
PyObject *longval = PyLong_FromLong(0);
601601
if (longval == NULL) {
602602
return -1;
603603
}

0 commit comments

Comments
 (0)