dispel.sphinxext.templates module
Templates for library specific Sphinx extensions.
-
dispel.sphinxext.templates.is_range_validator(validator)[source]
Test if an object is a RangeValidator
.
- Parameters:
validator (Any) – The validator to be tested.
- Returns:
True
if the passed argument is an instance of a RangeValidator
.
- Return type:
bool
-
dispel.sphinxext.templates.is_set_validator(validator)[source]
Test if an object is a SetValidators
.
- Parameters:
validator (Any) – The validator to be tested.
- Returns:
True
if the passed argument is an instance of a SetValidator
.
- Return type:
bool