[Python-checkins] python/nondist/peps pep-0234.txt,1.16,1.17
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Sun, 07 Jul 2002 23:48:57 -0700
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv31984
Modified Files:
pep-0234.txt
Log Message:
Typo (has_keys -> has_key), found by F.Pinard.
Index: pep-0234.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0234.txt,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** pep-0234.txt 25 Oct 2001 20:14:01 -0000 1.16
--- pep-0234.txt 8 Jul 2002 06:48:55 -0000 1.17
***************
*** 312,316 ****
- Regarding "if key in dict": there is no doubt that the
! dict.has_keys(x) interpretation of "x in dict" is by far the
most useful interpretation, probably the only useful one. There
has been resistance against this because "x in list" checks
--- 312,316 ----
- Regarding "if key in dict": there is no doubt that the
! dict.has_key(x) interpretation of "x in dict" is by far the
most useful interpretation, probably the only useful one. There
has been resistance against this because "x in list" checks