Searched refs:TYPE_CHECKER (Results 1 – 4 of 4) sorted by relevance
105 #define TYPE_CHECKER(type, ...) \125 INSTANCE_TYPE_CHECKERS(TYPE_CHECKER)126 #undef TYPE_CHECKER
467 TYPE_CHECKER = copy.copy(Option.TYPE_CHECKER) variable in DurationOption468 TYPE_CHECKER['duration'] = _check_duration1039 TYPE_CHECKER = copy.copy(Option.TYPE_CHECKER) variable in TestExtendAddTypes.MyOption1040 TYPE_CHECKER["file"] = check_file
543 TYPE_CHECKER = { "int" : check_builtin, variable in Option762 checker = self.TYPE_CHECKER.get(self.type)
1856 :mod:`optparse`'s types: :attr:`~Option.TYPES` and :attr:`~Option.TYPE_CHECKER`.1863 .. attribute:: Option.TYPE_CHECKER1895 :attr:`~Option.TYPE_CHECKER` class attribute of your Option subclass)::1908 TYPE_CHECKER = copy(Option.TYPE_CHECKER)1909 TYPE_CHECKER["complex"] = check_complex1911 (If we didn't make a :func:`copy` of :attr:`Option.TYPE_CHECKER`, we would end1912 up modifying the :attr:`~Option.TYPE_CHECKER` attribute of :mod:`optparse`'s