Graph library for Python
Patrick Laban
reeeh2000 at gmail.com
Wed Dec 9 19:24:51 EST 2009
On Wed, Dec 9, 2009 at 4:02 PM, Rhodri James <rhodri at wildebst.demon.co.uk>wrote:
>
> Here's a thought: are
>
> g.add_edge("a", "b", "ab")
>
> and
>
> g.add_edge("a", "b", name="ab")
>
> equivalent? If so, there's no reason not to have both forms of the
> initialiser. If not, that weighs against having 'name' as a dictionary key.
>
>
> --
> Rhodri James *-* Wildebeest Herder to the Masses
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Both methods are equivalent.
Patrick Laban
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091209/7e55f977/attachment-0001.html>
More information about the Python-list
mailing list