Helper method for common parse actions that simply return a literal value. Especially useful when used with :class:`transformString ` (). Example:: num = Word(nums).setParseAction(lambda toks: int(toks[0])) na = oneOf("N/A NA").setParseAct
(replStr)
source not stored for this graph (policy: none)