A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-January/019635.html below:

self vs. _ in new Norvig's book

[Python-Dev] OT: style convention: self vs. _ in new Norvig's book [Python-Dev] OT: style convention: self vs. _ in new Norvig's bookBarry A. Warsaw barry@zope.com
Mon, 21 Jan 2002 11:10:04 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> The _ name is already overloaded with multiple meanings in
    GvR> the Python community: it's a shorthand for the last evaluated
    GvR> expression in interactive mode, and some people use it as a
    GvR> dummy variable to assign uninteresting results to.

It's also the common name of a function in internationalized Python
applications (mostly inherited from established conventions in the C
world).

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4