Package gavo :: Package rsc :: Module common :: Class ParseOptions
[frames] | no frames]

Class ParseOptions

source code

object --+
         |
        ParseOptions

see `function getParseOptions`_ .

Instance Methods
 
__repr__(self)
repr(x)
source code
 
change(self, **kwargs)
returns a copy of self with the keyword parameters changed.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

change(self, **kwargs)

source code 

returns a copy of self with the keyword parameters changed.

Trying to add attributes in this way will raise an AttributeError.

>>> p = parseValidating.change(validateRows=False)
>>> p.validateRows
False
>>> p.change(gulp=1)
Traceback (most recent call last):
AttributeError: ParseOptions instances have no gulp attributes