It would make sense for get_edge() to return both edges but I see that
isn't the case.
A workaround might be to pass the nodes to the edges() method.
In [25]: A = pgv.AGraph(strict=False)
In [26]: A.add_edge(1,2,key='one')
In [27]: A.add_edge(1,2,key='two')
In [28]: A.edges([1,2],keys=True)
Out[28]: [(u'1', u'2', u'one'), (u'1', u'2', u'two')]
Aric
> --
> You received this message because you are subscribed to the Google Groups
> "pygraphviz-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pygraphviz-disc...@googlegroups.com.
> To post to this group, send email to
pygraphvi...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/pygraphviz-discuss.
> For more options, visit
https://groups.google.com/d/optout.