|
|
[show private | hide private] |
UID
, identifying the object
whose documentation is pointed to. The name specifies how the link should
appear in the source document. Usually, the name is just the (short) name
of the target. However, it doesn't have to be. For example, consider the
following code:
>>> def f(x): pass
>>> g = f
Links to g and f will have the same target (whose short name will be
'f'
), but links to them will use different names
('f'
and 'g'
, respectively).
Method Summary | |
---|---|
__init__(self,
name,
target) Create a new cross-reference link, with the given name and target. | |
__cmp__(self,
other) | |
string
|
__repr__(self) Return a string representation of this Link . |
string
|
name(self) Return this link's name. |
UID
|
target(self) Return this link's target. |
Method Details |
---|
Constructor
|
Comparison operator
|
Representation operator
|
name
|
target
|
|
|
Generated by Epydoc on Sun Oct 6 03:32:15 2002 | http://epydoc.sf.net |