Conventions for dummy name (was: for loop without variable)

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Thu Jan 10 09:13:37 CET 2008


-On [20080110 00:21], Ben Finney (bignose+hates-spam at benfinney.id.au) wrote:
>The problem with the '_' name is that it is already well-known and
>long-used existing convention for an entirely unrelated purpose: in
>the 'gettext' i18n library, the '_' function to get the
>locally-translated version of a text string.

The same applies for Babel (http://babel.edgewall.org/) where we have _() in
similar vein to the gettext implementation.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
With a nuclear fire of Love in our Hearts, rest easy baby, rest easy...



More information about the Python-list mailing list