[issue6396] No conversion specifier in the string, no __getitem__ method in the right hand value

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jul 2 13:43:34 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

If A is a simple class (old or new style):
   class A: pass

Why is there a difference between:
   "" % object()
and
   "" % A()
?

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6396>
_______________________________________


More information about the Python-bugs-list mailing list