11\section {\module {UserDict} ---
2- Class wrapper for dictionary objects. }
3- \declaremodule {standard}{UserDict}
2+ Class wrapper for dictionary objects }
43
4+ \declaremodule {standard}{UserDict}
55\modulesynopsis {Class wrapper for dictionary objects.}
66
7-
87This module defines a class that acts as a wrapper around
98dictionary objects. It is a useful base class for
109your own dictionary-like classes, which can inherit from
@@ -19,16 +18,20 @@ \section{\module{UserDict} ---
1918\member {data} attribute of \class {UserDict} instances.
2019\end {classdesc }
2120
21+ In addition to supporting the methods and operations of mappings (see
22+ section \ref {typesmapping }), \class {UserDict} instances provide the
23+ following attribute:
24+
2225\begin {memberdesc }{data}
2326A real dictionary used to store the contents of the \class {UserDict}
2427class.
2528\end {memberdesc }
2629
2730
2831\section {\module {UserList} ---
29- Class wrapper for list objects. }
30- \declaremodule {standard}{UserList}
32+ Class wrapper for list objects }
3133
34+ \declaremodule {standard}{UserList}
3235\modulesynopsis {Class wrapper for list objects.}
3336
3437
@@ -49,6 +52,10 @@ \section{\module{UserList} ---
4952or an instance of \class {UserList} (or a subclass).
5053\end {classdesc }
5154
55+ In addition to supporting the methods and operations of mutable
56+ sequences (see section \ref {typesseq }), \class {UserList} instances
57+ provide the following attribute:
58+
5259\begin {memberdesc }{data}
5360A real Python list object used to store the contents of the
5461\class {UserList} class.
0 commit comments