]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] no-issue: Fix a typo in the parameter name of random.expovariate. (gh-109902...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Sep 2023 15:39:36 +0000 (08:39 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 15:39:36 +0000 (17:39 +0200)
no-issue: Fix a typo in the parameter name of random.expovariate. (gh-109902)
(cherry picked from commit 8100612bac2df1cbbb3a4cf646c4b82febf7807f)

Co-authored-by: lohaswinner <lohaswinner@gmail.com>
Doc/whatsnew/3.12.rst

index d07ffbb454ccd3f918935eb9278b016661b4b9a0..f2e94f9a5c5f191bb89d21da16197f7455f8aa70 100644 (file)
@@ -818,7 +818,7 @@ random
 * Add :func:`random.binomialvariate`.
   (Contributed by Raymond Hettinger in :gh:`81620`.)
 
-* Add a default of ``lamb=1.0`` to :func:`random.expovariate`.
+* Add a default of ``lambd=1.0`` to :func:`random.expovariate`.
   (Contributed by Raymond Hettinger in :gh:`100234`.)
 
 shutil