Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bf37de

Browse files
committed
Added some minor prose before the descriptions of the data attributes
to make it clear that these are instance attributes, not module data.
1 parent abc64b7 commit 6bf37de

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

Doc/lib/libuserdict.tex

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
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-
87
This module defines a class that acts as a wrapper around
98
dictionary objects. It is a useful base class for
109
your 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}
2326
A real dictionary used to store the contents of the \class{UserDict}
2427
class.
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} ---
4952
or 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}
5360
A real Python list object used to store the contents of the
5461
\class{UserList} class.

0 commit comments

Comments
 (0)