[Python-checkins] Fix typo in math.prod example (GH-15614)
Miss Islington (bot)
webhook-mailer at python.org
Mon Sep 9 09:42:55 EDT 2019
https://github.com/python/cpython/commit/5e053eb98eb0d65a8e0f00b3641f9907198aace3
commit: 5e053eb98eb0d65a8e0f00b3641f9907198aace3
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-09-09T06:42:50-07:00
summary:
Fix typo in math.prod example (GH-15614)
(cherry picked from commit 1a8de82d3a30ecc7ed18a5ad51a0e17417ebfb89)
Co-authored-by: Ashwin Vishnu <9155111+ashwinvis at users.noreply.github.com>
files:
M Doc/whatsnew/3.8.rst
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 4a1362d943c8..2b4eb63d61f6 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -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`)
More information about the Python-checkins
mailing list