◐ Shell
clean mode source ↗

gh-118131: Command-line interface for the `random` module by hugovk · Pull Request #118132 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

hugovk

merged 4 commits into

May 5, 2024

Conversation

@hugovk hugovk added the stdlib

Standard Library Python modules in the Lib/ directory

label

Apr 21, 2024

pfmoore

@rhettinger

Personally, I don't support this proposal but won't stand in the way of it either. It seems gratuitous.

funkyfuture

erlend-aasland

layday

SonicField pushed a commit to SonicField/cpython that referenced this pull request

May 8, 2024

andersk

return randint(1, args.integer)

if args.float is not None:
return uniform(1, args.float)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels

stdlib

Standard Library Python modules in the Lib/ directory