eric6/Documentation/Source/eric6.Globals.E5ConfigParser.html

Sun, 01 Sep 2019 17:43:03 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 Sep 2019 17:43:03 +0200
branch
without_py2_and_pyqt4
changeset 7196
ab0a91b82b37
parent 6942
2602857055c5
permissions
-rw-r--r--

Removed support for QtWebKit and the old web rowser.

5255
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric6.Globals.E5ConfigParser</title>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 <style>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 body {
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 background: #EDECE6;
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 margin: 0em 1em 10em 1em;
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 color: black;
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10 }
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 h1 { color: white; background: #85774A; }
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 h2 { color: white; background: #85774A; }
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 h3 { color: white; background: #9D936E; }
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 h4 { color: white; background: #9D936E; }
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 a { color: #BA6D36; }
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 </style>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 </head>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <body><a NAME="top" ID="top"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <h1>eric6.Globals.E5ConfigParser</h1>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 Module implementing a ConfigParser wrapper for Python 2 to provide the
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 dictionary like interface of the Python 3 variant.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 </p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 <h3>Global Attributes</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 <table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 <tr><td>None</td></tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 </table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 <h3>Classes</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 <table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 <tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 <td><a href="#E5ConfigParser">E5ConfigParser</a></td>
5294
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
35 <td>Class implementing a wrapper of the ConfigParser class implementing dictionary like special methods and some enhancements from Python 3.</td>
5255
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 </tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 </table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 <h3>Functions</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 <table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 <tr><td>None</td></tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 </table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 <hr /><hr />
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 <a NAME="E5ConfigParser" ID="E5ConfigParser"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 <h2>E5ConfigParser</h2>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 Class implementing a wrapper of the ConfigParser class implementing
5294
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
47 dictionary like special methods and some enhancements from Python 3.
5255
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 </p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 <h3>Derived from</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 SafeConfigParser
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 <h3>Class Attributes</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 <table>
5294
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
53 <tr><td>OPTCRE</td></tr><tr><td>OPTCRE_NV</td></tr><tr><td>_OPT_NV_TMPL</td></tr><tr><td>_OPT_TMPL</td></tr>
5255
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 </table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 <h3>Class Methods</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 <table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 <tr><td>None</td></tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 </table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 <h3>Methods</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 <tr>
5294
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
62 <td><a href="#E5ConfigParser.__init__">E5ConfigParser</a></td>
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
63 <td>Constructor</td>
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
64 </tr><tr>
5255
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 <td><a href="#E5ConfigParser.__contains__">__contains__</a></td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 <td>Special method to test, if a section is contained in the config.</td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 </tr><tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 <td><a href="#E5ConfigParser.__delitem__">__delitem__</a></td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 <td>Special method to delete a section.</td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 </tr><tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 <td><a href="#E5ConfigParser.__getitem__">__getitem__</a></td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 <td>Special method to get a section.</td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 </tr><tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 <td><a href="#E5ConfigParser.__iter__">__iter__</a></td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 <td>Special method to return an iterator of the section names starting with the default section.</td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 </tr><tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 <td><a href="#E5ConfigParser.__len__">__len__</a></td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 <td>Special method get the number of sections of the config.</td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 </tr><tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 <td><a href="#E5ConfigParser.__setitem__">__setitem__</a></td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 <td>Special method to set the values of a section.</td>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 </tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 </table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 <h3>Static Methods</h3>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 <table>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 <tr><td>None</td></tr>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 </table>
5294
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
88 <a NAME="E5ConfigParser.__init__" ID="E5ConfigParser.__init__"></a>
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
89 <h4>E5ConfigParser (Constructor)</h4>
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
90 <b>E5ConfigParser</b>(<i>defaults=None, dict_type=_default_dict, allow_no_value=False, delimiters=('=', ':')</i>)
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
91 <p>
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
92 Constructor
d70147155302 Fixed issues with the E5ConfigParser with Python2.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 5255
diff changeset
93 </p><a NAME="E5ConfigParser.__contains__" ID="E5ConfigParser.__contains__"></a>
5255
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 <h4>E5ConfigParser.__contains__</h4>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 <b>__contains__</b>(<i>key</i>)
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 Special method to test, if a section is contained in the config.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98 </p><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 <dt><i>key</i> (str)</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 name of the section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 <dt>Returns:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 flag indicating containment
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 <dt>Return Type:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 bool
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 </dl><a NAME="E5ConfigParser.__delitem__" ID="E5ConfigParser.__delitem__"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 <h4>E5ConfigParser.__delitem__</h4>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 <b>__delitem__</b>(<i>key</i>)
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 Special method to delete a section.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 </p><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 <dt><i>key</i> (str)</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 name of the section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 <dt>Raises <b>KeyError</b>:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 raised to indicate a non-existent section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 </dd><dt>Raises <b>ValueError</b>:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 raised to indicate non-removal of the
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 default section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 </dl><a NAME="E5ConfigParser.__getitem__" ID="E5ConfigParser.__getitem__"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 <h4>E5ConfigParser.__getitem__</h4>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 <b>__getitem__</b>(<i>key</i>)
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136 Special method to get a section.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 </p><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138 <dt><i>key</i> (str)</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 name of the section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 <dt>Returns:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 section for the given key
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 <dt>Return Type:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 dict
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 <dt>Raises <b>KeyError</b>:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 raised if a non-existent key is given
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157 </dl><a NAME="E5ConfigParser.__iter__" ID="E5ConfigParser.__iter__"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 <h4>E5ConfigParser.__iter__</h4>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159 <b>__iter__</b>(<i></i>)
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 Special method to return an iterator of the section names starting
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 with the default section.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 </p><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 <dt>Returns:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 iterator of the section names contained in the config
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 <dt>Return Type:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 iterator of str
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 </dl><a NAME="E5ConfigParser.__len__" ID="E5ConfigParser.__len__"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 <h4>E5ConfigParser.__len__</h4>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 <b>__len__</b>(<i></i>)
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 Special method get the number of sections of the config.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 </p><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 <dt>Returns:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 number of sections
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 </dl><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 <dt>Return Type:</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 int
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 </dl><a NAME="E5ConfigParser.__setitem__" ID="E5ConfigParser.__setitem__"></a>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 <h4>E5ConfigParser.__setitem__</h4>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <b>__setitem__</b>(<i>key, values</i>)
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 <p>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 Special method to set the values of a section.
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 </p><dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 <dt><i>key</i> (str)</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 name of the section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 </dd><dt><i>values</i> (dict)</dt>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 <dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 value for the section
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 </dd>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 </dl>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 <div align="right"><a href="#top">Up</a></div>
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 <hr />
5fc76ccd369e Added a config parser class to implement the dictionary interface for the Python 2 config parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 </body></html>

eric ide

mercurial