Eric V. Smith added the comment: That code is an error in Python 3.6:
>>> f"{eval('bool(0)\ ... and True\ ... ')}" File "<stdin>", line 3 SyntaxError: f-string expression part cannot include a backslash >>> I'm not sure it's a good idea that jupyter accepts code that's not valid in Python itself. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30793> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com