__call__ (
parser,
section,
name,
value,
lineInfo,
)
Act on name = value in section section
parser is an IIniParser for the file being parsed, and lineInfo
is a tuple of (filename, lineNumber, lineContents) . Typically,
a setting parser will perform some operation(s) on parser.pMap in
response to each setting it receives.
If you want to use the standard parser's interpretation of the name
and value, you can call parser.add_setting() , but be sure to
provide compatible arguments, as add_setting() expects its section
argument to be a valid, ready-to-use prefix for its name argument.
|