[Python-checkins] python/nondist/peps pep-0008.txt,1.8,1.9
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Fri, 24 May 2002 10:07:19 -0700
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv24344
Modified Files:
pep-0008.txt
Log Message:
Added Tim's names to avoid (with the addition of cap-I which looks
like an `l' in some fonts).
Index: pep-0008.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0008.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** pep-0008.txt 24 May 2002 16:22:16 -0000 1.8
--- pep-0008.txt 24 May 2002 17:07:17 -0000 1.9
***************
*** 393,396 ****
--- 393,404 ----
Prescriptive: Naming Conventions
+ Names to Avoid
+
+ Never use the characters `l' (lowercase letter el), `O'
+ (uppercase letter oh), or `I' (uppercase letter eye) as single
+ character variable names. In some fonts, these characters are
+ indistinguisable from the numerals one and zero. When tempted
+ to use `l' use `L' instead.
+
Module Names