]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43729: Clarify comment in tutorial example (GH-25191)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Fri, 14 May 2021 19:09:08 +0000 (21:09 +0200)
committerGitHub <noreply@github.com>
Fri, 14 May 2021 19:09:08 +0000 (12:09 -0700)
Doc/tutorial/introduction.rst

index 2a1666128a20155cb38e3fbdc3c255b7d38a31a6..4613cf76c530998b9d5f4dd1e7bfd4a2a8b2caf9 100644 (file)
@@ -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 [#]_::