string.Template.delimiter cannot be overriden?
kretik at yahoo.com
Tue Jun 17 07:29:47 CEST 2008
Raymond Hettinger wrote:
> On Jun 16, 9:53 pm, kretik <kre... at yahoo.com> wrote:
>> I've been trying to coax this class to use something other than the
>> default '$' but it seems setting it to something else has no discernible
>> effect. Is it necessary to inherit from the class to do this?
> Yes, subclassing is the intended way to produce variants of Template
> with a different delimiter.
OK, that makes no sense but I guess it's some sort of pythonistic thing
or something =)
Thanks a lot for the response.
More information about the Python-list