Eric V. Smith <e...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37479>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to