mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.12] gh-118671: Updated dead ActiveState links (GH-118730) (#118754)
Co-authored-by: trag1c <trag1cdev@yahoo.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
5cdef782bf
commit
656491783d
12 changed files with 14 additions and 14 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue