mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix typo in _exact_ratio comment. (GH-94789)
(cherry picked from commit e39ce7d487
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
This commit is contained in:
parent
7c185017a9
commit
3c91f42918
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ def _exact_ratio(x):
|
|||
|
||||
# The integer ratios for binary floats can have numerators or
|
||||
# denominators with over 300 decimal digits. The problem is more
|
||||
# acute with decimal floats where the the default decimal context
|
||||
# acute with decimal floats where the default decimal context
|
||||
# supports a huge range of exponents from Emin=-999999 to
|
||||
# Emax=999999. When expanded with as_integer_ratio(), numbers like
|
||||
# Decimal('3.14E+5000') and Decimal('3.14E-5000') have large
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue