MCPcopy Create free account
hub / github.com/a4k-openproject/script.module.openscrapers / replaceWith

Function replaceWith

lib/pyparsing.py:5720–5733  ·  view source on GitHub ↗

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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runTestsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected