File: Scientific_3.html

package info (click to toggle)
python-scientific 2.2-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,368 kB
  • ctags: 2,396
  • sloc: python: 6,468; ansic: 3,643; xml: 3,596; makefile: 79; sh: 27
file content (12 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
<a name="Module:Scientific.DictWithDefault"><h1>Module Scientific.DictWithDefault</h1></a>

<hr width=70%>
<a name="Class:Scientific.DictWithDefault.DictWithDefault"><h2>Class DictWithDefault: Dictionary with default values</h2></a>

<p>Constructor:  DictWithDefault(<i>default</i>)</p>

<p>Instances of this class act like standard Python dictionaries,
except that they return a <i>copy</i> of <i>default</i> for a key that
has no associated value.
</p>