> In [5]: dict(a=3)
> Out[5]: {'a': 3}
>
> In [6]: a
> NameError: name 'a' is not defined
>
> Is this some kind of very special syntax? Why is `a` not 3?

Keywords are sent as strings and dict, using `a=3`, is using keyword
syntax. No symbol `a` has been created.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to