Eric V. Smith added the comment: I agree with David here, this isn't a bug tracker level issue.
But, to the specifics of your example, it already works: Python 3.6.0a0 (default:9095a5787a82+, Feb 5 2016, 18:24:55) [GCC 5.2.1 20151010] on linux Type "help", "copyright", "credits" or "license" for more information. >>> f'spam{(lambda: 1)():<4}' 'spam1 ' >>> The section of the docs you cited is only talking about single quotes, double quotes, escaped quotes, triple quotes and the like. So I'm not clear what changes you'd be proposing. If you bring this up on python-ideas, please be specific about what you'd change. Thanks! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26713> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com