From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 23 Jul 2023 13:59:05 +0000 (-0700) Subject: [3.11] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107123) X-Git-Tag: v3.11.5~154 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6138ecdeb80d3a62d5cef27b08669495bccbe19b;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107123) Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Hugo van Kemenade --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index b7a89905e4f3..e8b582dfe85d 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -52,8 +52,8 @@ Numbers The interpreter acts as a simple calculator: you can type an expression at it and it will write the value. Expression syntax is straightforward: the -operators ``+``, ``-``, ``*`` and ``/`` work just like in most other languages -(for example, Pascal or C); parentheses (``()``) can be used for grouping. +operators ``+``, ``-``, ``*`` and ``/`` can be used to perform +arithmetic; parentheses (``()``) can be used for grouping. For example:: >>> 2 + 2