]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in _exact_ratio comment. (GH-94789)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Jul 2022 21:57:39 +0000 (14:57 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 21:57:39 +0000 (14:57 -0700)
(cherry picked from commit e39ce7d4871429d3a48f51139eff9abacd719361)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Lib/statistics.py

index 2d66b0522f19d52632c0f24d73df7c93d9b326bc..9598ab6d090d0d70bf99e92e088cdbfc5263fd5d 100644 (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