On Thu, 2007-07-12 at 13:04 +0100, Michael Connors wrote:
> Hi,
> I was following the thread on about the _("xx") thingy.
> Since then I played around a bit with underscores at the console and
> it seems to me that if you execute code with a return value but you
> dont save the result, then _ is a pointer to this value.
>
> Is that correct?
http://docs.python.org/ref/id-classes.html
'''The special identifier "_" is used in the interactive interpreter to
store the result of the last evaluation; it is stored in the __builtin__
module. When not in interactive mode, "_" has no special meaning and is
not defined.'''
--
Paul W. Frields, RHCE http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
Fedora Project: http://fedoraproject.org/wiki/PaulWFrields
irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor