Changeset 5813


Ignore:
Timestamp:
May 26, 2012 4:15:27 PM (7 years ago)
Author:
wehart
Message:

Misc documentation edits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/base/param.py

    r5805 r5813  
    140140
    141141    #
    142     # a utiliy to extract all index-value pairs defining this
     142    # A utility to extract all index-value pairs defining this
    143143    # parameter, returned as a dictionary. useful in many
    144144    # contexts, in which key iteration and repeated __getitem__
     
    233233        else:
    234234            self._data[ndx] = val
    235 
    236235        #
    237236        # This is at the end, so the user can write their validation
     
    372371            setattr(self, slot_name, value)
    373372
    374     # Needed so that users find Param.pprint and not _ParamData.pprint
    375373    def pprint(self, ostream=None, verbose=False):
     374        # Needed so that users find Param.pprint and not _ParamData.pprint
    376375        Param.pprint(self, ostream=ostream, verbose=verbose)
    377376
    378     # Needed because we rely on self[None] to know if this parameter is valid
    379377    def __call__(self, *args, **kwds):
     378        # Needed because we rely on self[None] to know if this parameter is valid
    380379        return _ParamData.__call__(self[None], *args, **kwds)
     380
    381381
    382382class _ParamArray(Param):
     
    388388        return str(self.name)
    389389
    390 
Note: See TracChangeset for help on using the changeset viewer.