[Python-checkins] CVS: python/nondist/peps pep-0252.txt,1.5,1.6
Guido van Rossum
gvanrossum@users.sourceforge.net
Sat, 28 Apr 2001 09:10:41 -0700
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv18945
Modified Files:
pep-0252.txt
Log Message:
Typo: has_item() should be has_key(). Thanks Moshe.
Index: pep-0252.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0252.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pep-0252.txt 2001/04/23 21:19:03 1.5
--- pep-0252.txt 2001/04/28 16:10:39 1.6
***************
*** 166,170 ****
A regular object may have a __dict__ attribute. If it does,
this should be a mapping (not necessarily a dictionary)
! supporting at least __getitem__, keys(), and has_item(). This
gives the dynamic attributes of the object. The keys in the
mapping give attribute names, and the corresponding values give
--- 166,170 ----
A regular object may have a __dict__ attribute. If it does,
this should be a mapping (not necessarily a dictionary)
! supporting at least __getitem__, keys(), and has_key(). This
gives the dynamic attributes of the object. The keys in the
mapping give attribute names, and the corresponding values give