Message70822
| Author | blop |
|---|---|
| Recipients | blop |
| Date | 2008-08-07.13:33:04 |
| SpamBayes Score | 6.2743144e-05 |
| Marked as misclassified | No |
| Message-id | <1218115986.04.0.715940138525.issue3516@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
>>> "%.%s" % ()
'%s'
>>> "%(a).%(b)s" % dict(a=2)
'%(b)s'
>>> "%(a).%(b)s" % dict(a=2, b=3)
'%(b)s'
>>> "%(a).%(b)s" % dict()
Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
"%(a).%(b)s" % dict()
KeyError: 'a'
this is counter intuitive and cannot be deduced from the documentation. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-08-07 13:33:06 | blop | set | recipients: + blop |
| 2008-08-07 13:33:06 | blop | set | messageid: <1218115986.04.0.715940138525.issue3516@psf.upfronthosting.co.za> |
| 2008-08-07 13:33:04 | blop | link | issue3516 messages |
| 2008-08-07 13:33:04 | blop | create | |