Skip to content

Commit 0779712

Browse files
author
Erlend Egeberg Aasland
authored
bpo-43729: Clarify comment in tutorial example (pythonGH-25191)
1 parent dc0b364 commit 0779712

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)