| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
`python -m random --float N` incorrectly used a range between 1 and N of length N - 1. Fix it to use a range between 0 and N of length N, as originally specified in python#118131, and as everyone will expect. Fixes python#123968. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
Thanks! |
Sorry, something went wrong.
…onGH-123971) (cherry picked from commit a362c41) Co-authored-by: Anders Kaseorg <andersk@mit.edu>
|
GH-124009 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
python -m random --float N incorrectly used a range between 1 and N of length N - 1. Fix it to use a range between 0 and N of length N, as originally specified in #118131, and as everyone will expect.