[Python-checkins] CVS: python/nondist/peps pep-0252.txt,1.2,1.3
Guido van Rossum
gvanrossum@users.sourceforge.net
Fri, 20 Apr 2001 06:46:20 -0700
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv4502
Modified Files:
pep-0252.txt
Log Message:
Correct typo found by Thomas Heller (swapped __methods__ and
__members__).
Index: pep-0252.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0252.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0252.txt 2001/04/20 04:01:57 1.2
--- pep-0252.txt 2001/04/20 13:46:17 1.3
***************
*** 76,82 ****
The type-based introspection API is supported in one form or
another by most built-in objects. It uses two special attributes,
! __members__ and __methods__. The __members__ attribute, if
present, is a list of method names supported by the object. The
! __methods__ attribute, if present, is a list of data attribute
names supported by the object.
--- 76,82 ----
The type-based introspection API is supported in one form or
another by most built-in objects. It uses two special attributes,
! __members__ and __methods__. The __methods__ attribute, if
present, is a list of method names supported by the object. The
! __members__ attribute, if present, is a list of data attribute
names supported by the object.