| Method Summary |
| |
__init__(self,
object)
|
| |
__eq__(self,
other)
|
| |
__hash__(self)
|
UID or None
|
cls(self)
Return the UID of the class that contains the object identified by this UID;
or None if the object identified by this UID is not part of
a class. |
boolean
|
descendant_of(self,
ancestor)
Return true if the object identified by this UID is a descendant of
ancestor. |
int
|
id(self)
Return the Python internal identifier for this UID's object. |
boolean
|
is_builtin_function(self)
Return true if this is the UID for a builtin function. |
boolean
|
is_builtin_method(self)
Return true if this is the UID for a builtin method. |
boolean
|
is_class(self)
Return true if this is the UID for a class or a type. |
| |
is_classmethod(self)
|
boolean
|
is_function(self)
Return true if this is the UID for a function. |
boolean
|
is_method(self)
Return true if this is the UID for a method. |
boolean
|
is_module(self)
Return true if this is the UID for a module or a package. |
boolean
|
is_package(self)
Return true if this is the UID for a package. |
boolean
|
is_property(self)
Return true if this is the UID for a property. |
boolean
|
is_routine(self)
Return true if this is the UID for a function, a method, a builtin function,
or a builtin method. |
| |
is_staticmethod(self)
|
boolean
|
is_type(self)
Return true if this is the UID for a type. |
boolean
|
is_variable(self)
Return true if this is the UID for a variable. |
UID
|
module(self)
Return the UID of the module that contains the object identified by this UID;
or None if the object identified by this UID is a module or
a package. |
string
|
name(self)
Return the globally unique name for this identifier. |
UID
|
package(self)
Return the UID of the package that contains the object identified by this
UID; or None if the object identified by this UID is not
part of a package. |
| |
parent(self)
Return the UID of the object that contains the object identified by this UID;
or None if the object identified by this UID is not
contained by any other object. |
string
|
shortname(self)
Return the short name for this UID. |
| any
|
value(self)
Return the value of the object or variable specified by this UID. |
| |
_findname(self)
|
Inherited from UID:
__cmp__,
__repr__,
__str__,
is_any_function,
is_any_method,
is_private,
is_public
|