[Python-Dev] Can we please have a better dict interpolation syntax?
Greg Ewing
greg at cosc.canterbury.ac.nz
Wed Oct 22 23:32:19 EDT 2003
More information about the Python-Dev mailing list
Wed Oct 22 23:32:19 EDT 2003
- Previous message: [Python-Dev] Can we please have a better dict interpolation syntax?
- Next message: [Python-Dev] Can we please have a better dict interpolation syntax?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido:
> Wouldn't this be even better?
>
> "create index ${table}_lid1_idx on $table($lid1)" % params
I wouldn't object to that. I'd have expected *you* to
object to it, though, since it re-defines the meaning
of "$" in an interpolated string. I was just trying
to suggest something that would be backward-compatible.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] Can we please have a better dict interpolation syntax?
- Next message: [Python-Dev] Can we please have a better dict interpolation syntax?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list