[Python-checkins] Fix typo in math.prod example (GH-15614)

Pablo Galindo webhook-mailer at python.org
Mon Sep 9 08:42:31 EDT 2019


https://github.com/python/cpython/commit/1a8de82d3a30ecc7ed18a5ad51a0e17417ebfb89
commit: 1a8de82d3a30ecc7ed18a5ad51a0e17417ebfb89
branch: master
author: Ashwin Vishnu <9155111+ashwinvis at users.noreply.github.com>
committer: Pablo Galindo <Pablogsal at gmail.com>
date: 2019-09-09T13:42:27+01:00
summary:

Fix typo in math.prod example (GH-15614)

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