Home | Trees | Indices | Help |
|
---|
|
>>> name = DottedName('epydoc', 'api_doc', 'DottedName') >>> print name epydoc.apidoc.DottedName >>> name[1] 'api_doc'
|
|||
InvalidDottedName An exception raised by the DottedName constructor when one of its arguments is not a valid dotted name. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
DottedName |
|
|
|||
UNREACHABLE =
|
|||
_IDENTIFIER_RE = re.compile(r'
|
|||
_ok_identifiers =
A cache of identifier strings that have been checked against _IDENTIFIER_RE and found to be acceptable. |
|
Construct a new dotted name from the given sequence of pieces, each of
which can be either a pieces may also contain a single
tuple of values. In that case, that tuple will be used as the
DottedName 's identifiers; it will not be checked to
see if it's valid.
|
>>> print DottedName('epydoc', 'api_doc', DottedName') epydoc.apidoc.DottedName |
i th identifier in this
DottedName . If i is a non-empty slice, then
return a DottedName built from the identifiers selected by
the slice. If i is an empty slice, return an empty list
(since empty DottedName s are not valid).
|
other . Two dotted names are
considered equal if their identifier subsequences are equal. Ordering
between dotted names is lexicographic, in order of identifier from left
to right.
|
None instead.
|
name . If strict is true, then also require
that self!=name .
>>> DottedName('a.b').dominates(DottedName('a.b.c.d')) True |
If
|
|
_IDENTIFIER_RE
|
_ok_identifiersA cache of identifier strings that have been checked against _IDENTIFIER_RE and found to be acceptable.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Mar 1 04:23:55 2007 | http://epydoc.sourceforge.net |