\section{\module{UserDict} ---
- Class wrapper for dictionary objects.}
-\declaremodule{standard}{UserDict}
+ Class wrapper for dictionary objects}
+\declaremodule{standard}{UserDict}
\modulesynopsis{Class wrapper for dictionary objects.}
-
This module defines a class that acts as a wrapper around
dictionary objects. It is a useful base class for
your own dictionary-like classes, which can inherit from
\member{data} attribute of \class{UserDict} instances.
\end{classdesc}
+In addition to supporting the methods and operations of mappings (see
+section \ref{typesmapping}), \class{UserDict} instances provide the
+following attribute:
+
\begin{memberdesc}{data}
A real dictionary used to store the contents of the \class{UserDict}
class.
\section{\module{UserList} ---
- Class wrapper for list objects.}
-\declaremodule{standard}{UserList}
+ Class wrapper for list objects}
+\declaremodule{standard}{UserList}
\modulesynopsis{Class wrapper for list objects.}
or an instance of \class{UserList} (or a subclass).
\end{classdesc}
+In addition to supporting the methods and operations of mutable
+sequences (see section \ref{typesseq}), \class{UserList} instances
+provide the following attribute:
+
\begin{memberdesc}{data}
A real Python list object used to store the contents of the
\class{UserList} class.