]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-117387 Remove hash mark from introductory text (GH-117409) (#gh-
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 31 Mar 2024 21:24:28 +0000 (23:24 +0200)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 21:24:28 +0000 (21:24 +0000)
Lib/collections/__init__.py

index 0e7971a872e3a276e165715784805a255bc1d4ac..5f000b5f2c38c3b9d0073fd9fefdf03025ceedae 100644 (file)
@@ -638,7 +638,8 @@ class Counter(dict):
         >>> sorted(c.elements())
         ['A', 'A', 'B', 'B', 'C', 'C']
 
-        # Knuth's example for prime factors of 1836:  2**2 * 3**3 * 17**1
+        Knuth's example for prime factors of 1836:  2**2 * 3**3 * 17**1
+
         >>> import math
         >>> prime_factors = Counter({2: 2, 3: 3, 17: 1})
         >>> math.prod(prime_factors.elements())