John Mark Vandenberg added the comment: Might be useful to add a note to PEP 257 that f-strings are not valid as docstrings .
Or should f-strings be valid docstrings and raise an error if any variables present in the f-string do not exist in the outer scope? ---------- nosy: +John.Mark.Vandenberg _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25179> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com