]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-143948: Explain graphlib's cycle-finding code (#143950)
authorTim Peters <tim.peters@gmail.com>
Wed, 21 Jan 2026 01:28:48 +0000 (19:28 -0600)
committerGitHub <noreply@github.com>
Wed, 21 Jan 2026 01:28:48 +0000 (19:28 -0600)
commit48795b6460e16dff72add0675a7bf8e1f029108e
treec82042fb881f8e0522266fe8347281f5be0db6ac
parent95746b3a13a985787ef53b977129041971ed7f70
GH-143948: Explain graphlib's cycle-finding code (#143950)

Explain topsort's cycle-finding algorithm, and why it's written that way.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/graphlib.py