Different types of dicts with letter before the curly braces.
kindly
kindly at gmail.com
Sun Jun 14 07:36:17 EDT 2009
On Jun 14, 12:25 pm, Mike Kazantsev <mk.frag... at gmail.com> wrote:
> On Sun, 14 Jun 2009 04:02:47 -0700 (PDT)
>
> kindly <kin... at gmail.com> wrote:
> > Am I crazy to think this is a good idea? I have not looked deeply
> > pythons grammer to see if it conflicts with anything, but on the
> > surface it looks fine.
>
> I'd say "on the surface it looks like perl" ;)
> I'd prefer to use dict() to declare a dict, not some mix of letters and
> incomprehensible symbols, thank you.
>
> --
> Mike Kazantsev // fraggod.net
>
> signature.asc
> < 1KViewDownload
Python already has it for strings r"foo" or u"bar". So I do not think
its going against the grain.
More information about the Python-list
mailing list