| commit | add191118fd583107e900c264f6e7aa1e786a387 | [log] [tgz] |
|---|---|---|
| author | Thomas Wouters <thomas@python.org> | Wed Jul 05 11:03:49 2006 +0000 |
| committer | Thomas Wouters <thomas@python.org> | Wed Jul 05 11:03:49 2006 +0000 |
| tree | aff4b6d042a6b729021fcd11b7ed81b29ba81d2a | |
| parent | 9ba7ca82298fabe84b633514317d795b42eef770 [diff] |
Fix bug in passing tuples to string.Template. All other values (with working
str() or repr()) would work, just not multi-value tuples. Probably not a
backport candidate, since it changes the behaviour of passing a
single-element tuple:
>>> string.Template("$foo").substitute(dict(foo=(1,)))
'(1,)'
versus
'1'