Eric V. Smith <e...@trueblade.com> added the comment:
The problem is that __doc__ is set at compile time, not run time. The ''.format call (and f-strings) are evaluated at run time. ---------- nosy: +eric.smith _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com