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 -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/IYB65JFMZ55LPA2DX57GJHRUCTI4VD6I/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to