what's the deal of "_" in Python?
Alex Martelli
aleaxit at yahoo.com
Fri Sep 17 02:14:25 EDT 2004
Erik Heneryd <erik at heneryd.com> wrote:
> phansen wrote:
> > Yun Mao wrote:
> >
> >> Can someone give me some pointers to the related docs? Thanks.
> >
> >
> > It's a variable name. See http://docs.python.org/ref/identifiers.html
>
> ...and is special in interactive mode. See
> http://docs.python.org/ref/id-classes.html
...and is used in the gettext module for internationalization (as a
function name, in that case).
Alex
More information about the Python-list
mailing list