[New-bugs-announce] [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)."""


    """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>

More information about the New-bugs-announce mailing list