summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2004-09-18 00:06:34 (GMT)
committerBarry Warsaw <barry@python.org>2004-09-18 00:06:34 (GMT)
commit17cb60083c53b464a329f1a660a922db677389dd (patch)
tree71cd312c89fef47908b2d6beae434f62d6148abf /Lib/httplib.py
parent2e6fb4634cf7fce9938f80661dc000d9748a7bc7 (diff)
downloadcpython-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 'Lib/httplib.py')
0 files changed, 0 insertions, 0 deletions