(replStr)
return _replFunc
Helper method for common parse actions that simply return a literal value.  Especially
       useful when used with transformString().
Helper method for common parse actions that simply return a literal value.  Especially
       useful when used with transformString().
Helper method for common parse actions that simply return a literal value . Especially useful when used with transformString () .
def replaceWith(replStr):
    """Helper method for common parse actions that simply return a literal value.  Especially
       useful when used with transformString().
    """
    def _replFunc(*args):
        return [replStr]
    return _replFunc
def replaceWith ( replStr ) : def _replFunc ( * args ) : return [ replStr ] return _replFunc