HWRF
trunk@4391
|
A class used to implement named constants. More...
A class used to implement named constants.
Definition at line 23 of file pipeline.py.
Public Member Functions | |
def | __init__ |
Creates a named constant. More... | |
def | __str__ (self) |
Returns the s argument to the constructor. More... | |
def | __repr__ (self) |
Returns the r argument of the constructor. More... | |
def produtil.pipeline.Constant.__init__ | ( | self, | |
s, | |||
r = None |
|||
) |
Creates a named constant.
s | the return value of str() = str(self) |
r | the return value of repr() = repr(self) |
Definition at line 25 of file pipeline.py.
def produtil.pipeline.Constant.__repr__ | ( | self | ) |
Returns the r argument of the constructor.
Definition at line 36 of file pipeline.py.
Referenced by produtil.prog.Runner.__str__().
def produtil.pipeline.Constant.__str__ | ( | self | ) |
Returns the s argument to the constructor.
Definition at line 33 of file pipeline.py.