On Wed, Dec 9, 2009 at 4:02 PM, Rhodri James <[email protected]>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
--
http://mail.python.org/mailman/listinfo/python-list