From: Julien Palard Date: Mon, 10 Oct 2022 07:01:16 +0000 (+0200) Subject: doc: remove a misleading statement. (GH-98093) X-Git-Tag: v3.12.0a1~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=571e23d99157ed7ad67ca2334a396fc9ddbe07ec;p=thirdparty%2FPython%2Fcpython.git doc: remove a misleading statement. (GH-98093) --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index ba0f47705297..558b1c3eec60 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -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