summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-14 20:06:34 (GMT)
committerGitHub <noreply@github.com>2021-05-14 20:06:34 (GMT)
commitc90642b0d48e5ab40d05b526311ba19bb87f3233 (patch)
treeb5dcde69fdac6dff6409003b0d72f5f20fc9a31a /Doc/tutorial
parent41ed452a91552c8e981d11de3ba3dbf27525b83e (diff)
downloadcpython-c90642b0d48e5ab40d05b526311ba19bb87f3233.zip
cpython-c90642b0d48e5ab40d05b526311ba19bb87f3233.tar.gz
cpython-c90642b0d48e5ab40d05b526311ba19bb87f3233.tar.bz2
bpo-43729: Clarify comment in tutorial example (GH-25191) (GH-26137)
(cherry picked from commit 07797121cc290ede0b3d3cf02068f3d993cddd15) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 2a16661..4613cf7 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -73,7 +73,7 @@ operator; to calculate the remainder you can use ``%``::
5
>>> 17 % 3 # the % operator returns the remainder of the division
2
- >>> 5 * 3 + 2 # result * divisor + remainder
+ >>> 5 * 3 + 2 # floored quotient * divisor + remainder
17
With Python, it is possible to use the ``**`` operator to calculate powers [#]_::