diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-05-14 19:09:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 19:09:08 (GMT) |
commit | 07797121cc290ede0b3d3cf02068f3d993cddd15 (patch) | |
tree | bb9aed28ece291808c120ca8a187193d73bc62c7 | |
parent | dc0b364de46cec104dae62282174b6c8a1cdb475 (diff) | |
download | cpython-07797121cc290ede0b3d3cf02068f3d993cddd15.zip cpython-07797121cc290ede0b3d3cf02068f3d993cddd15.tar.gz cpython-07797121cc290ede0b3d3cf02068f3d993cddd15.tar.bz2 |
bpo-43729: Clarify comment in tutorial example (GH-25191)
-rw-r--r-- | Doc/tutorial/introduction.rst | 2 |
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 [#]_:: |