David Mc Dougall <dam1...@g.rit.edu> added the comment:

> you're not actually confused.

I was when I first read it!


> the meanings of "predecessor" and "successor" are universally agreed upon

I disagree. The universally agreed upon terms are "directed edge u -> v". It's 
not obvious if the "predecessor" should be the start or the end point of the 
edge, and this is why the docs explicitly state the edge direction:

> If the optional graph argument is provided it must be a dictionary 
> representing a directed acyclic graph where the keys are nodes and the values 
> are iterables of all [...] the nodes that have edges that point to the value 
> in the key.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46071>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to