New submission from Jakub Wilk:
'%(eggs)s %s' % {'eggs': 'ham'}
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: not enough arguments for format string
'%s %(eggs)s' % {'eggs': 'ham'}
{'eggs': 'ham'} ham
I would expect a raised exception also in the latter case.
Eric V. Smith added the comment:
This is a duplicate of issue 1467929.
--
nosy: +eric.smith
resolution: - duplicate
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22597
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22597
___
___
Python-bugs-list mailing