8000 doc: remove a misleading statement. (GH-98093) · python/cpython@571e23d · GitHub
[go: up one dir, main page]

Skip to content

Commit 571e23d

Browse files
authored
doc: remove a misleading statement. (GH-98093)
1 parent ad817cd commit 571e23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/introduction.rst

Lines changed: 2 additions & 2 deletions
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 541C -
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)
0