Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove comment about python2 longs #37520

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading