summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-08-04 07:13:49 (GMT)
committerGitHub <noreply@github.com>2022-08-04 07:13:49 (GMT)
commitf79547a429d5c90af83a0da821e082cba20d4712 (patch)
tree529f0f5c398d524e7ae54685fb22100ab2914b8f /Doc/library/random.rst
parentbcc74d509a3bd7e4fdc658179ae6d77614d1fd36 (diff)
downloadcpython-f79547a429d5c90af83a0da821e082cba20d4712.zip
cpython-f79547a429d5c90af83a0da821e082cba20d4712.tar.gz
cpython-f79547a429d5c90af83a0da821e082cba20d4712.tar.bz2
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 78c2b03..9130400 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -266,7 +266,7 @@ The following function generates a discrete distribution.
.. function:: binomialvariate(n=1, p=0.5)
`Binomial distribution
- <http://mathworld.wolfram.com/BinomialDistribution.html>`_.
+ <https://mathworld.wolfram.com/BinomialDistribution.html>`_.
Return the number of successes for *n* independent trials with the
probability of success in each trial being *p*: