]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in math.prod example (GH-15614)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Sep 2019 13:42:50 +0000 (06:42 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 13:42:50 +0000 (06:42 -0700)
(cherry picked from commit 1a8de82d3a30ecc7ed18a5ad51a0e17417ebfb89)

Co-authored-by: Ashwin Vishnu <9155111+ashwinvis@users.noreply.github.com>
Doc/whatsnew/3.8.rst

index 4a1362d943c8098cda3a807a2ef64003dcd8dd5b..2b4eb63d61f6589058e1c852aea1503fd1cf78be 100644 (file)
@@ -767,7 +767,7 @@ numbers::
 
     >>> prior = 0.8
     >>> likelihoods = [0.625, 0.84, 0.30]
-    >>> (link: http://math.prod) math.prod(likelihoods, start=prior)
+    >>> math.prod(likelihoods, start=prior)
     0.126
 
 (Contributed by Pablo Galindo in :issue:`35606`)