diff options
author | 2020-09-15 17:13:26 -0300 | |
---|---|---|
committer | 2020-09-15 21:13:26 +0100 | |
commit | ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b (patch) | |
tree | 778d25829c59eb1c2c2b8e1461b50b87ba9ee900 /Tools | |
parent | minor reformat of enum tests (GH-22259) (diff) | |
download | cpython-ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b.tar.gz cpython-ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b.tar.bz2 cpython-ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b.zip |
Fix all Python Cookbook links (#22205)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/peg_generator/pegen/sccutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/peg_generator/pegen/sccutils.py b/Tools/peg_generator/pegen/sccutils.py index 1f0586bb2f..0c29519660 100644 --- a/Tools/peg_generator/pegen/sccutils.py +++ b/Tools/peg_generator/pegen/sccutils.py @@ -18,7 +18,7 @@ def strongly_connected_components( exactly once; vertices not part of a SCC are returned as singleton sets. - From http://code.activestate.com/recipes/578507/. + From https://github.com/ActiveState/code/tree/master/recipes/Python/578507_Strongly_connected_components_directed/recipe-578507.py. """ identified: Set[str] = set() stack: List[str] = [] @@ -81,7 +81,7 @@ def topsort( {B, C} {A} - From http://code.activestate.com/recipes/577413/. + From https://github.com/ActiveState/code/tree/master/recipes/Python/577413_Topological_Sort/recipe-577413.py. """ # TODO: Use a faster algorithm? for k, v in data.items(): |