[Python-checkins] Fix typo in _exact_ratio comment. (GH-94789)

benjaminp webhook-mailer at python.org
Tue Jul 12 17:34:47 EDT 2022


https://github.com/python/cpython/commit/e39ce7d4871429d3a48f51139eff9abacd719361
commit: e39ce7d4871429d3a48f51139eff9abacd719361
branch: main
author: Benjamin Peterson <benjamin at python.org>
committer: benjaminp <benjamin at locrian.net>
date: 2022年07月12日T14:34:23-07:00
summary:
Fix typo in _exact_ratio comment. (GH-94789)
files:
M Lib/statistics.py
diff --git a/Lib/statistics.py b/Lib/statistics.py
index a2793d9718686..9d775e74f81c6 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

AltStyle によって変換されたページ (->オリジナル) /