summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-07-05 11:03:49 +0000
committerThomas Wouters <thomas@python.org>2006-07-05 11:03:49 +0000
commitadd191118fd583107e900c264f6e7aa1e786a387 (patch)
treeaff4b6d042a6b729021fcd11b7ed81b29ba81d2a /Python/import.c
parent9ba7ca82298fabe84b633514317d795b42eef770 (diff)
downloadcpython-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