Single underscore in interactive mode
Terry Reedy
tjreedy at udel.edu
Wed Jun 25 14:30:08 EDT 2014
On 6/25/2014 11:20 AM, candide wrote:
> According to the official documentation (The Python Language Reference, Release 3.2):
>
>
> -----------------------------------
> The special identifier _ is used in the interactive interpreter to
> store the result of the last evaluation;
> -----------------------------------
>
>
> This description is not very specific.
Please say either in a tracker issue or here where you found this
statement. I think 'evaluation' should be changed to 'non-None
expression statement' and 'see sys.displayhook' added, linked to the
entry in the sys doc.
--
Terry Jan Reedy
More information about the Python-list
mailing list