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:
Miss Islington (bot) 2022-07-12 14:57:39 -07:00 committed by GitHub
parent 7c185017a9
commit 3c91f42918
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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