Correct typo found by Thomas Heller (swapped __methods__ and
__members__).
This commit is contained in:
parent
eb32cf6554
commit
2893fa23ef
|
@ -75,9 +75,9 @@ Introspection APIs
|
||||||
|
|
||||||
The type-based introspection API is supported in one form or
|
The type-based introspection API is supported in one form or
|
||||||
another by most built-in objects. It uses two special attributes,
|
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
|
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.
|
names supported by the object.
|
||||||
|
|
||||||
The type API is sometimes combined by a __dict__ that works the
|
The type API is sometimes combined by a __dict__ that works the
|
||||||
|
|
Loading…
Reference in New Issue