Skip to content

Commit a2f7280

Browse files
doc: remove a misleading statement. (GH-98093)
(cherry picked from commit 571e23d) Co-authored-by: Julien Palard <julien@palard.fr>
1 parent 1d05b58 commit a2f7280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/introduction.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ the ones with a fractional part (e.g. ``5.0``, ``1.6``) have type
7070
:class:`float`. We will see more about numeric types later in the tutorial.
7171

7272
Division (``/``) always returns a float. To do :term:`floor division` and
73-
get an integer result (discarding any fractional result) you can use the ``//``
74-
operator; to calculate the remainder you can use ``%``::
73+
get an integer result you can use the ``//`` operator; to calculate
74+
the remainder you can use ``%``::
7575

7676
>>> 17 / 3 # classic division returns a float
7777
5.666666666666667

0 commit comments

Comments
 (0)