"Mel Wilson" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Point of information, would this be the interpreter putting
> the result of its last calculation in _ ?

Yes, in interactive mode (but not in batch mode) it binds the valid name 
'_' to the result of statement expressions.

> >>> [2*x for x in range(5)]
> [0, 2, 4, 6, 8]
> >>> _[4]
> 8

which here is the list.

Terry Jan Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to