Module paludis :: Class DepSpec
[show private | hide private]
[frames | no frames]

Type DepSpec

object --+    
         |    
  instance --+
             |
            DepSpec

Known Subclasses:
CompositeDepSpec, DependencyLabelsDepSpec, StringDepSpec, URILabelsDepSpec

Base class for a dependency spec.
Method Summary
  __init__(...)
Raises an exception This class cannot be instantiated from Python
  __reduce__(...)
ConditionalDepSpec as_conditional_dep_spec()
Return us as a ConditionalDepSpec, or None if we are not a ConditionalDepSpec.
PackageDepSpec as_package_dep_spec()
Return us as a PackageDepSpec, or None if we are not a PackageDepSpec.
    Inherited from instance
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

as_conditional_dep_spec()

Return us as a ConditionalDepSpec, or None if we are not a ConditionalDepSpec.
Returns:
ConditionalDepSpec

as_package_dep_spec()

Return us as a PackageDepSpec, or None if we are not a PackageDepSpec.
Returns:
PackageDepSpec

Generated by Epydoc 2.1 on Mon Aug 4 19:40:19 2008 http://epydoc.sf.net