[issue37479] IntEnum f-string behavior can't be overridden
Eric V. Smith
report at bugs.python.org
Mon Jul 1 20:38:41 EDT 2019
Eric V. Smith <eric at trueblade.com> added the comment:
Note that this isn't really related to f-strings, except that they use the __format__ protocol, as does str.__format__.
>>> format(myIntEnum.x)
'1'
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37479>
_______________________________________
More information about the Python-bugs-list
mailing list