[Python-Dev] OT: style convention: self vs. _ in new Norvig's book (original) (raw)
Barry A. Warsaw barry@zope.com
Mon, 21 Jan 2002 11:10:04 -0500
- Previous message: [Python-Dev] OT: style convention: self vs. _ in new Norvig's book
- Next message: [Python-Dev] OT: style convention: self vs. _ in new Norvig's book
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message: [Python-Dev] OT: style convention: self vs. _ in new Norvig's book
- Next message: [Python-Dev] OT: style convention: self vs. _ in new Norvig's book
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]