aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-09-26 21:47:25 -0300
committerGitHub <noreply@github.com>2020-09-27 01:47:25 +0100
commite8a2076e149703ea043db5a9dfaaf8d9b7f37c3e (patch)
tree2da32fc742c4e214b622fed2eb4a98180759766b /Lib/collections
parentbpo-1635741: Port _bisect module to multi-phase init (GH-22415) (diff)
downloadcpython-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__.py2
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):