Skip to content

Commit

Permalink
Remove comment about python2 literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Eloitor committed Mar 2, 2024
1 parent 4ac7152 commit 6f3793f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/doc/en/developer/coding_in_python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ replacements are made:
3 * 29

- Raw literals are not preparsed, which can be useful from an
efficiency point of view. Just like Python ints are denoted by an L,
in Sage raw integer and floating literals are followed by an "r" (or
"R") for raw, meaning not preparsed. For example::
efficiency point of view. In Sage raw integer and floating
literals are followed by an "r" (or "R") for raw, meaning
not preparsed. For example::

sage: a = 393939r
sage: a
Expand Down
5 changes: 2 additions & 3 deletions src/sage/repl/preparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@
Raw literals:
Raw literals are not preparsed, which can be useful from an efficiency
point of view. Just like Python ints are denoted by an L, in Sage raw
integer and floating literals are followed by an"r" (or "R") for raw,
meaning not preparsed.
point of view. In Sage raw integer and floating literals are followed
by an"r" (or "R") for raw, meaning not preparsed.
We create a raw integer::
Expand Down

0 comments on commit 6f3793f

Please sign in to comment.