Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix call to
random.randint
to use integer arguments.
Python 3.12 will no longer convert float to integer arguments and instead will raise an error. https://docs.python.org/3/whatsnew/3.12.html#changes-in-the-python-api > Formerly, randrange(10.0) losslessly converted to randrange(10). Now, it raises a TypeError. PiperOrigin-RevId: 723521435
- Loading branch information