From: Erlend Egeberg Aasland Date: Fri, 14 May 2021 19:09:08 +0000 (+0200) Subject: bpo-43729: Clarify comment in tutorial example (GH-25191) X-Git-Tag: v3.11.0a1~1115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07797121cc290ede0b3d3cf02068f3d993cddd15;p=thirdparty%2FPython%2Fcpython.git bpo-43729: Clarify comment in tutorial example (GH-25191) --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 2a1666128a20..4613cf76c530 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 [#]_::