Skip to content

Commit

Permalink
Remove parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 26, 2024
1 parent 6082eba commit 73b011b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/en/tutorial/afterword.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ behaves differently from Python in several ways.

- **Integer division:** The Python expression ``2/3`` does not
behave the way mathematicians might expect: ``2/3`` returns the
floating point number ``0.6666...``. (Note that ``//``
is the Euclidean division and ``2//3`` returns ``0``).
floating point number ``0.6666...``. Note that ``//``
is the Euclidean division and ``2//3`` returns ``0``.

We deal with this in the Sage interpreter, by wrapping integer
literals in ``Integer( )`` and making division a constructor for rational
Expand Down

0 comments on commit 73b011b

Please sign in to comment.