diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-09-27 00:47:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 00:47:25 (GMT) |
commit | e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e (patch) | |
tree | 2da32fc742c4e214b622fed2eb4a98180759766b /Lib/collections | |
parent | 2afd1751dd9a35d4ec03b708e3e5cddd72c43f7e (diff) | |
download | cpython-e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e.zip cpython-e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e.tar.gz cpython-e8a2076e149703ea043db5a9dfaaf8d9b7f37c3e.tar.bz2 |
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 f4da9d0..5d75501 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): |