]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in _exact_ratio comment. (GH-94789)
authorBenjamin Peterson <benjamin@python.org>
Tue, 12 Jul 2022 21:34:23 +0000 (14:34 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 21:34:23 +0000 (14:34 -0700)
Lib/statistics.py

index a2793d97186860af192c359657fedc27e11d8f62..9d775e74f81c64da3c3e411bccf0d9b43eccb924 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