summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authortrag1c <trag1cdev@yahoo.com>2024-05-08 07:06:38 (GMT)
committerGitHub <noreply@github.com>2024-05-08 07:06:38 (GMT)
commitc4f9823be277b2e3de2315526612276626217743 (patch)
treeb2c14a08fa07e5f4da4c9a8536294f0a4a092f6e /Tools
parentfcf52d7ceea3532f0b3475aadd4e1f72db463a1f (diff)
downloadcpython-c4f9823be277b2e3de2315526612276626217743.zip
cpython-c4f9823be277b2e3de2315526612276626217743.tar.gz
cpython-c4f9823be277b2e3de2315526612276626217743.tar.bz2
gh-118671: Updated dead ActiveState links (#118730)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Tools')
-rw-r--r--Tools/peg_generator/pegen/sccutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/peg_generator/pegen/sccutils.py b/Tools/peg_generator/pegen/sccutils.py
index 1f0586b..da4c933 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://code.activestate.com/recipes/578507-strongly-connected-components-of-a-directed-graph/.
"""
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://code.activestate.com/recipes/577413-topological-sort/history/1/.
"""
# TODO: Use a faster algorithm?
for k, v in data.items():