On Wednesday, August 6, 2014 10:34:36 PM UTC-7, kcrisman wrote:
>
> Consider
>
> plot(Graph({1:[2],1:[3]}))
>
> I would expect two edges. Instead the vertex 2 isn't even there. Is this
> a bug or a feature? The documentation for this way of entering graphs is
> pretty terse so I was quite surprised by this outcome.
>
Sage never comes into play here. Dictionary literals ("Dictionary displays"
in official python lingo) are defined to be evaluated left-to-right, in
order. See
https://docs.python.org/2/reference/expressions.html#dictionary-displays
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.