[Python-checkins] Fix typo in _exact_ratio comment. (GH-94789)
miss-islington
webhook-mailer at python.org
Tue Jul 12 17:57:48 EDT 2022
https://github.com/python/cpython/commit/3c91f429181ca9620ffcf049c1e8d5039e9691ee
commit: 3c91f429181ca9620ffcf049c1e8d5039e9691ee
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-12T14:57:39-07:00
summary:
Fix typo in _exact_ratio comment. (GH-94789)
(cherry picked from commit e39ce7d4871429d3a48f51139eff9abacd719361)
Co-authored-by: Benjamin Peterson <benjamin at python.org>
files:
M Lib/statistics.py
diff --git a/Lib/statistics.py b/Lib/statistics.py
index 2d66b0522f19d..9598ab6d090d0 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -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
More information about the Python-checkins
mailing list