[Python-checkins] Clarify that the expression is regular math notation, not Python. (GH-96903) (GH-96908)
rhettinger
webhook-mailer at python.org
Sat Sep 17 23:01:17 EDT 2022
https://github.com/python/cpython/commit/e0b02ef27e7bef19f6662acd46cc5c7b86a55b28
commit: e0b02ef27e7bef19f6662acd46cc5c7b86a55b28
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2022-09-17T22:01:12-05:00
summary:
Clarify that the expression is regular math notation, not Python. (GH-96903) (GH-96908)
files:
M Doc/library/math.rst
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 6d9a992f731..8d48656d41e 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -45,8 +45,8 @@ Number-theoretic and representation functions
to zero when ``k > n``.
Also called the binomial coefficient because it is equivalent
- to the coefficient of k-th term in polynomial expansion of the
- expression ``(1 + x) ** n``.
+ to the coefficient of k-th term in polynomial expansion of
+ ``(1 + x)ⁿ``.
Raises :exc:`TypeError` if either of the arguments are not integers.
Raises :exc:`ValueError` if either of the arguments are negative.
More information about the Python-checkins
mailing list