Module constraint :: Class Variable
[show private | hide private]
[frames | no frames]

Type Variable

object --+
         |
        Variable


Helper class for variable definition

Using this class is optional, since any hashable object, including plain strings and integers, may be used as variables.
Method Summary
  __init__(self, name)
  __repr__(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, name)
(Constructor)

Parameters:
name - Generic variable name for problem-specific purposes
           (type=string)
Overrides:
__builtin__.object.__init__

Generated by Epydoc 2.1 on Thu Jul 7 02:05:09 2005 http://epydoc.sf.net