Correct typo found by Thomas Heller (swapped __methods__ and

__members__).
This commit is contained in:
Guido van Rossum 2001-04-20 13:46:17 +00:00
parent eb32cf6554
commit 2893fa23ef
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ Introspection APIs
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
__members__ and __methods__. The __methods__ attribute, if
present, is a list of method names supported by the object. The
__methods__ attribute, if present, is a list of data attribute
__members__ attribute, if present, is a list of data attribute
names supported by the object.
The type API is sometimes combined by a __dict__ that works the