[issue33292] Fix secrets.randbelow docstring

Vex Woo report at bugs.python.org
Mon Apr 16 23:09:36 EDT 2018


New submission from Vex Woo <hap.ddup at gmail.com>:

- https://github.com/python/cpython/blob/master/Lib/secrets.py#L28

Please fix

    """Return a random int in the range [0, n)."""

to 

    """Return a random int in the range(0, n)."""

----------
components: Library (Lib)
messages: 315376
nosy: Nixawk
priority: normal
severity: normal
status: open
title: Fix secrets.randbelow docstring
type: resource usage
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33292>
_______________________________________


More information about the Python-bugs-list mailing list