doc: remove a misleading statement. (GH-98093)

(cherry picked from commit 571e23d991)

Co-authored-by: Julien Palard <julien@palard.fr>
This commit is contained in:
Miss Islington (bot) 2022-10-10 01:50:17 -07:00 committed by GitHub
parent 1ae7abf6b2
commit 8827b95e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,8 +70,8 @@ the ones with a fractional part (e.g. ``5.0``, ``1.6``) have type
:class:`float`. We will see more about numeric types later in the tutorial.
Division (``/``) always returns a float. To do :term:`floor division` and
get an integer result (discarding any fractional result) you can use the ``//``
operator; to calculate the remainder you can use ``%``::
get an integer result you can use the ``//`` operator; to calculate
the remainder you can use ``%``::
>>> 17 / 3 # classic division returns a float
5.666666666666667