|
|
[show private | hide private] |
UserDict
--+
|
DocMap
DocMap
using
add
, which adds an object and everything it contains. For
example, the following code constructs a documentation map, adds the module
"epydoc.epytext" to it, and looks up the documentation for
"epydoc.epytext.parse":
>>> docmap = DocMap() # Construct a docmap >>> docmap.add(epydoc.epytext) # Add epytext to it >>> docmap[epydoc.epytext.parse] # Look up epytext.parse <FuncDoc: epydoc.epytext.parse (3 parameters; 1 exceptions)>
Method Summary | |
---|---|
__init__(self,
verbosity,
document_bases) Create a new empty documentation map. | |
__cmp__(self,
dict) (inherited from UserDict )
| |
__delitem__(self,
key) (inherited from UserDict )
| |
ObjDoc
|
__getitem__(self,
key) Return the documentation for the given object; or the object identified by key , if key is a UID . |
__len__(self) (inherited from UserDict )
| |
__repr__(self) | |
__setitem__(self,
key,
item) (inherited from UserDict )
| |
None
|
add(self,
obj) Add the documentation for an object, and everything contained by that object, to this documentation map. |
None
|
add_one(self,
obj) Add an object's documentation to this documentation map. |
clear(self) (inherited from UserDict )
| |
copy(self) (inherited from UserDict )
| |
get(self,
key,
failobj) (inherited from UserDict )
| |
has_key(self,
key) (inherited from UserDict )
| |
items(self) (inherited from UserDict )
| |
keys(self) (inherited from UserDict )
| |
popitem(self) (inherited from UserDict )
| |
setdefault(self,
key,
failobj) (inherited from UserDict )
| |
list of UID
|
top(self) Return the list of top-level objects documented by this documentation map. |
update(self,
dict) (inherited from UserDict )
| |
values(self) (inherited from UserDict )
|
Method Details |
---|
Constructor
|
Indexing operator
|
Representation operator
|
add
|
add_one
obj , then use add .
|
top
|
|
|
Generated by Epydoc on Sun Oct 6 03:32:13 2002 | http://epydoc.sf.net |