Beginner question

Chris Angelico rosuav at gmail.com
Tue Jun 4 07:57:24 EDT 2013


On Tue, Jun 4, 2013 at 9:53 PM, Carlos Nepomuceno
<carlosnepomuceno at outlook.com> wrote:
> Are there any benefits from using dict() instead of {}?

Not for what you're doing, but you can use dict() with an iterable.
Most of the time, use the literal.

ChrisA



More information about the Python-list mailing list