Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 21159:6fa96b329e15 legacy-trunk
Remove most references to __members__ and __methods__, leaving only one pair
of references that now state that these attributes have been removed,
directing the reader to the dir() function.
This closes SF bug #456420.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 03 Dec 2001 17:32:27 +0000 |
| parents | bc02c3b09626 |
| children | 7b6879714b74 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Mon Dec 03 17:09:50 2001 +0000 +++ b/Doc/lib/libstdtypes.tex Mon Dec 03 17:32:27 2001 +0000 @@ -1390,16 +1390,13 @@ \end{memberdesc} \begin{memberdesc}[object]{__methods__} -List of the methods of many built-in object types. For example, -\code{[].__methods__} yields \code{['append', 'count', 'index', -'insert', 'pop', 'remove', 'reverse', 'sort']}. This usually does not -need to be explicitly provided by the object. +\deprecated{2.2}{Use the built-in function \function{dir()} to get a +list of an object's attributes. This attribute is no longer available.} \end{memberdesc} \begin{memberdesc}[object]{__members__} -Similar to \member{__methods__}, but lists data attributes. This -usually does not need to be explicitly provided by the object, and -need not include the names of the attributes defined in this section. +\deprecated{2.2}{Use the built-in function \function{dir()} to get a +list of an object's attributes. This attribute is no longer available.} \end{memberdesc} \begin{memberdesc}[instance]{__class__}
