diff options
author | Thomas Wouters <thomas@python.org> | 2006-07-05 11:03:49 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-07-05 11:03:49 +0000 |
commit | add191118fd583107e900c264f6e7aa1e786a387 (patch) | |
tree | aff4b6d042a6b729021fcd11b7ed81b29ba81d2a /Python/import.c | |
parent | 9ba7ca82298fabe84b633514317d795b42eef770 (diff) | |
download | cpython-git-add191118fd583107e900c264f6e7aa1e786a387.tar.gz |
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'
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions