-
-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #24568: Deprecate sage.rings.real_mpfr.RealNumber.__hex__
This has more or less the same issue as #24514. Even Python `float`s didn't implement `__hex__`, which it seems really only should be implemented for int-like classes. Also fixes the hex method for Python 3 to properly return a `str` instead of `bytes`. URL: https://trac.sagemath.org/24568 Reported by: embray Ticket author(s): Erik Bray Reviewer(s): Jeroen Demeyer
- Loading branch information
Showing
1 changed file
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters