class documentation

class Integer(ConfigDefinition): (source)

Known subclasses: zim.config.dicts.Range

View In Hierarchy

This class defines a config key that maps to an integer value
Method check No summary

Inherited from ConfigDefinition:

Method __eq__ Undocumented
Method __init__ Undocumented
Method __ne__ Undocumented
Method tostring Undocumented
Class Variable __slots__ Undocumented
Instance Variable allow_empty Undocumented
Instance Variable default Undocumented
Method _check_allow_empty Undocumented
Method _eval_string Undocumented
def check(self, value): (source)
Check value to be a valid value for this key
Returns
(converted) value if valid
Raises
ValueErrorif value is invalid and can not be converted