]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Improve readability of random module examples (GH-11884) (GH-11885)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 15 Feb 2019 20:47:04 +0000 (12:47 -0800)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Fri, 15 Feb 2019 20:47:04 +0000 (12:47 -0800)
commit7a3cbcdc55cb89ae69e47bff0df188610b53ec89
tree8ef6b8dac17d7789afdad200f08a49adec569c58
parentf6097306ff4c6fb72b94697e6d31f81ff324257d
Improve readability of random module examples (GH-11884) (GH-11885)

Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``.
(cherry picked from commit 9abb725cea7a1687b4d85ab9766ae6256a76a1ef)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Doc/library/random.rst