Global Package
Inheritance Tree
Inheritance Graph
Name Index
module
Synopsis
.
QualifiedName
class QualifiedName
File:
../Synopsis/QualifiedName.py
Private Methods Summary:
__getslice__
(
self
,
begin
,
end
)
This method exists because python < 3.0 still uses __getslice__ for builtin types.
__add__
(
self
,
other
)
Overload self + other to preserve the type.
Class attributes Summary:
sep
Methods Summary:
__getitem__
(
self
,
i
)
If i is a slice, make sure a QualifiedName is returned.
prune
(
self
,
other
)
Return a copy of other with any prefix it shares with self removed.
Private Methods Details:
__getslice__
(
self
,
begin
,
end
)
This method exists because python < 3.0 still uses __getslice__ for builtin types. (See http://bugs.python.org/issue2041)
__add__
(
self
,
other
)
Overload self + other to preserve the type.
Methods Details:
__getitem__
(
self
,
i
)
If i is a slice, make sure a QualifiedName is returned.
prune
(
self
,
other
)
Return a copy of other with any prefix it shares with self removed. e.g. ('A', 'B', 'C', 'D').prune(('A', 'B', 'D')) -> ('C', 'D')
Generated on Thu Apr 16 16:26:56 2009 by
synopsis
(version devel)