diff options
| author | Barry Warsaw <barry@python.org> | 2004-09-18 00:06:34 (GMT) |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2004-09-18 00:06:34 (GMT) |
| commit | 17cb60083c53b464a329f1a660a922db677389dd (patch) | |
| tree | 71cd312c89fef47908b2d6beae434f62d6148abf /Python/sysmodule.c | |
| parent | 2e6fb4634cf7fce9938f80661dc000d9748a7bc7 (diff) | |
| download | cpython-17cb60083c53b464a329f1a660a922db677389dd.zip cpython-17cb60083c53b464a329f1a660a922db677389dd.tar.gz cpython-17cb60083c53b464a329f1a660a922db677389dd.tar.bz2 | |
At the cost of a modest (but useful in its own right) change in the semantics
of the Template.delimiter attribute, we make use of the delimiter in the
escaped group, and in the safe_substitute() method more robust.
Now, .delimiter should be the unescaped delimiter literal, e.g. '$' or '&', or
whatever. The _TemplateMetaclass will re.escape() this value when it builds
the pattern.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions
