1
<?xml version="1.0" encoding="iso-8859-1"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<title>twisted.mail.mail.DomainWithDefaultDict</title>
7
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
9
<body bgcolor="white" text="black" link="blue" vlink="#204080"
12
<!-- =========== START OF NAVBAR =========== -->
13
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
15
<th class="navbar"> <a class="navbar" href="twisted.html">Home</a> </th>
16
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
17
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
18
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
19
<th class="navbar" align="right" width="100%">
20
<table border="0" cellpadding="0" cellspacing="0">
21
<tr><th class="navbar" align="center">
23
<a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted 1.3.0rc1</a>
24
</p></th></tr></table>
28
<table width="100%" cellpadding="0" cellspacing="0">
31
<font size="-1"><b class="breadcrumbs">
32
<a href="twisted.html">Package twisted</a> ::
33
<a href="twisted.mail.html">Package mail</a> ::
34
<a href="twisted.mail.mail.html">Module mail</a> ::
35
Class DomainWithDefaultDict
38
<td><table cellpadding="0" cellspacing="0">
39
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="twisted.mail.mail.DomainWithDefaultDict.html" target="_top">no frames</a>]</font></td></tr>
43
<!-- =========== START OF CLASS DESCRIPTION =========== -->
44
<h2 class="class">Class DomainWithDefaultDict</h2>
48
Simulate a dictionary with a default value for non-existing keys.
52
<!-- =========== START OF METHOD SUMMARY =========== -->
53
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
54
<tr bgcolor="#70b0f0" class="summary">
55
<th colspan="2">Method Summary</th></tr>
56
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
57
<td><code><a name="__init__"></a><span class="summary-sig"><span class="summary-sig-name">__init__</span>(<span class=summary-sig-arg>self</span>,
58
<span class=summary-sig-arg>domains</span>,
59
<span class=summary-sig-arg>default</span>)</span></code>
61
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
62
<td><code><a name="__contains__"></a><span class="summary-sig"><span class="summary-sig-name">__contains__</span>(<span class=summary-sig-arg>self</span>,
63
<span class=summary-sig-arg>name</span>)</span></code>
65
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
66
<td><code><a name="__delitem__"></a><span class="summary-sig"><span class="summary-sig-name">__delitem__</span>(<span class=summary-sig-arg>self</span>,
67
<span class=summary-sig-arg>name</span>)</span></code>
69
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
70
<td><code><a name="__getitem__"></a><span class="summary-sig"><span class="summary-sig-name">__getitem__</span>(<span class=summary-sig-arg>self</span>,
71
<span class=summary-sig-arg>name</span>)</span></code>
73
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
74
<td><code><a name="__iter__"></a><span class="summary-sig"><span class="summary-sig-name">__iter__</span>(<span class=summary-sig-arg>self</span>)</span></code>
76
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
77
<td><code><a name="__len__"></a><span class="summary-sig"><span class="summary-sig-name">__len__</span>(<span class=summary-sig-arg>self</span>)</span></code>
79
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
80
<td><code><a name="__repr__"></a><span class="summary-sig"><span class="summary-sig-name">__repr__</span>(<span class=summary-sig-arg>self</span>)</span></code>
82
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
83
<td><code><a name="__setitem__"></a><span class="summary-sig"><span class="summary-sig-name">__setitem__</span>(<span class=summary-sig-arg>self</span>,
84
<span class=summary-sig-arg>name</span>,
85
<span class=summary-sig-arg>value</span>)</span></code>
87
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
88
<td><code><a name="__str__"></a><span class="summary-sig"><span class="summary-sig-name">__str__</span>(<span class=summary-sig-arg>self</span>)</span></code>
90
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
91
<td><code><a name="clear"></a><span class="summary-sig"><span class="summary-sig-name">clear</span>(<span class=summary-sig-arg>self</span>)</span></code>
93
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
94
<td><code><a name="copy"></a><span class="summary-sig"><span class="summary-sig-name">copy</span>(<span class=summary-sig-arg>self</span>)</span></code>
96
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
97
<td><code><a name="fromkeys"></a><span class="summary-sig"><span class="summary-sig-name">fromkeys</span>(<span class=summary-sig-arg>klass</span>,
98
<span class=summary-sig-arg>keys</span>,
99
<span class=summary-sig-arg>value</span>)</span></code>
101
<i>(Class method)</i>
103
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
104
<td><code><a name="get"></a><span class="summary-sig"><span class="summary-sig-name">get</span>(<span class=summary-sig-arg>self</span>,
105
<span class=summary-sig-arg>key</span>,
106
<span class=summary-sig-arg>default</span>)</span></code>
108
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
109
<td><code><a name="has_key"></a><span class="summary-sig"><span class="summary-sig-name">has_key</span>(<span class=summary-sig-arg>self</span>,
110
<span class=summary-sig-arg>name</span>)</span></code>
112
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
113
<td><code><a name="items"></a><span class="summary-sig"><span class="summary-sig-name">items</span>(<span class=summary-sig-arg>self</span>)</span></code>
115
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
116
<td><code><a name="iteritems"></a><span class="summary-sig"><span class="summary-sig-name">iteritems</span>(<span class=summary-sig-arg>self</span>)</span></code>
118
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
119
<td><code><a name="iterkeys"></a><span class="summary-sig"><span class="summary-sig-name">iterkeys</span>(<span class=summary-sig-arg>self</span>)</span></code>
121
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
122
<td><code><a name="itervalues"></a><span class="summary-sig"><span class="summary-sig-name">itervalues</span>(<span class=summary-sig-arg>self</span>)</span></code>
124
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
125
<td><code><a name="keys"></a><span class="summary-sig"><span class="summary-sig-name">keys</span>(<span class=summary-sig-arg>self</span>)</span></code>
127
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
128
<td><code><a name="popitem"></a><span class="summary-sig"><span class="summary-sig-name">popitem</span>(<span class=summary-sig-arg>self</span>)</span></code>
130
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
131
<td><code><a name="setdefault"></a><span class="summary-sig"><span class="summary-sig-name">setdefault</span>(<span class=summary-sig-arg>self</span>,
132
<span class=summary-sig-arg>key</span>,
133
<span class=summary-sig-arg>default</span>)</span></code>
135
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
136
<td><code><a name="setDefaultDomain"></a><span class="summary-sig"><span class="summary-sig-name">setDefaultDomain</span>(<span class=summary-sig-arg>self</span>,
137
<span class=summary-sig-arg>domain</span>)</span></code>
139
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
140
<td><code><a name="update"></a><span class="summary-sig"><span class="summary-sig-name">update</span>(<span class=summary-sig-arg>self</span>,
141
<span class=summary-sig-arg>other</span>)</span></code>
143
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
144
<td><code><a name="values"></a><span class="summary-sig"><span class="summary-sig-name">values</span>(<span class=summary-sig-arg>self</span>)</span></code>
149
<!-- =========== START OF NAVBAR =========== -->
150
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
152
<th class="navbar"> <a class="navbar" href="twisted.html">Home</a> </th>
153
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
154
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
155
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
156
<th class="navbar" align="right" width="100%">
157
<table border="0" cellpadding="0" cellspacing="0">
158
<tr><th class="navbar" align="center">
160
<a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted 1.3.0rc1</a>
161
</p></th></tr></table>
166
<table border="0" cellpadding="0" cellspacing="0" width="100%">
168
<td align="left"><font size="-2">Generated by Epydoc 2.0 on Sat May 15 20:08:28 2004</font></td>
169
<td align="right"><a href="http://epydoc.sourceforge.net"
170
><font size="-2">http://epydoc.sf.net</font></a></td>