Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dcc69a commit 8d21243Copy full SHA for 8d21243
1 file changed
Doc/lib/libuserdict.tex
@@ -12,10 +12,13 @@ \section{\module{UserDict} ---
12
13
The \module{UserDict} module defines the \class{UserDict} class:
14
15
-\begin{classdesc}{UserDict}{}
+\begin{classdesc}{UserDict}{\optional{intialdata}}
16
Return a class instance that simulates a dictionary. The instance's
17
contents are kept in a regular dictionary, which is accessible via the
18
-\member{data} attribute of \class{UserDict} instances.
+\member{data} attribute of \class{UserDict} instances. If
19
+\var{initialdata} is provided, \member{data} is initialized with its
20
+contents; note that a reference to \var{initialdata} will not be kept,
21
+allowing it be used used for other purposes.
22
\end{classdesc}
23
24
In addition to supporting the methods and operations of mappings (see
0 commit comments