On 16/06/20 12:20 pm, Steven D'Aprano wrote:
The whole point of the REPL is to evaluate an expression and have the result printed. (That's the P in REPL :-)
Still, it's a bit surprising that it prints results of expressions within a compound statement, not just at the top level. -- Greg _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/IYB65JFMZ55LPA2DX57GJHRUCTI4VD6I/ Code of Conduct: http://python.org/psf/codeofconduct/
