def create_constant(value):
    constant = NewConstant()
    constant.setValue(value)
    return constant
Returns the line of text containing loc within a string, counting newlines as line separators.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/parallelflow/map.py/create_constant--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/external/pyparsing/_pyparsing.py/line