bpo-43729: Clarify comment in tutorial example (GH-25191) (#26136)

(cherry picked from commit 07797121cc)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
Miss Islington (bot) 2021-05-14 13:06:09 -07:00 committed by GitHub
parent 623481c77b
commit dd4f7d96cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 [#]_::