Skip to content

Commit dd4f7d9

Browse files
miss-islingtonErlend Egeberg Aasland
andauthored
bpo-43729: Clarify comment in tutorial example (GH-25191) (#26136)
(cherry picked from commit 0779712) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
1 parent 623481c commit dd4f7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ operator; to calculate the remainder you can use ``%``::
7373
5
7474
>>> 17 % 3 # the % operator returns the remainder of the division
7575
2
76-
>>> 5 * 3 + 2 # result * divisor + remainder
76+
>>> 5 * 3 + 2 # floored quotient * divisor + remainder
7777
17
7878

7979
With Python, it is possible to use the ``**`` operator to calculate powers [#]_::

0 commit comments

Comments
 (0)