commit | b19ec7f9df5897755dae14e6f4c7fef2d3bb0406 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue May 04 21:39:09 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue May 04 21:39:09 2021 -0700 |
tree | aaefe6e7a0d343a504b7909a0ccf9c9608861873 | |
parent | 7b4725a210bcfe3dc65f37cbada423cbd1e9f063 [diff] |
Eliminate duplicated assignment in _randommodule.c (GH-25904) (GH-25909)
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index cae49a0..0137e34 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c
@@ -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; }