]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-117387 Remove hash mark from introductory text (#117409)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 31 Mar 2024 21:09:22 +0000 (16:09 -0500)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 21:09:22 +0000 (16:09 -0500)
Lib/collections/__init__.py

index 0aa0c3e15e951988ef6587b1bc60ceeb6dd7faea..2a35989ee25a5e54e1f864ce1d115d90e8600931 100644 (file)
@@ -639,7 +639,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())