Graph([('A','B'),(1,2)]).edges()
<repr(<sage.graphs.views.EdgesView at 0x7fe9a43c0a00>) failed:
TypeError: unsupported operand parent(s) for <: 'Integer Ring' and
'<class 'str'>'>

I think this is related to sorting the edges.

The following works:
sage: Graph([("A",1),("B",2)]).edges()
[(1, 'A', None), (2, 'B', None)]

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGUWgD9zHPdu2ifxaMOc%3DEaUN5B9A_v6RmDXMLkFLCvc-Etc0w%40mail.gmail.com.

Reply via email to