diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-09-26 21:47:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 01:47:25 +0100 |
commit | e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e (patch) | |
tree | 2da32fc742c4e214b622fed2eb4a98180759766b /Lib/collections | |
parent | bpo-1635741: Port _bisect module to multi-phase init (GH-22415) (diff) | |
download | cpython-e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e.tar.gz cpython-e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e.tar.bz2 cpython-e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e.zip |
Revert "Fix all Python Cookbook links (#22205)" (GH-22424)
This commit reverts commit ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b as the original links are working again and they provide extended features such as comments and alternative versions.
Diffstat (limited to 'Lib/collections')
-rw-r--r-- | Lib/collections/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index f4da9d0cefd..5d75501645f 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -574,7 +574,7 @@ class Counter(dict): # http://en.wikipedia.org/wiki/Multiset # http://www.gnu.org/software/smalltalk/manual-base/html_node/Bag.html # http://www.demo2s.com/Tutorial/Cpp/0380__set-multiset/Catalog0380__set-multiset.htm - # https://github.com/ActiveState/code/tree/master/recipes/Python/259174_bag_collection_class/recipe-259174.py + # http://code.activestate.com/recipes/259174/ # Knuth, TAOCP Vol. II section 4.6.3 def __init__(self, iterable=None, /, **kwds): |