Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Test whether the specification is implemented by a class or factory.
Raise TypeError if argument is neither a class nor a callable.

src/p/r/Products.validation-2.0/Products/validation/service.py   Products.validation(Download)
    def unregister(self, name_or_validator):
        if type(name_or_validator) is StringType:
            name = name_or_validator
        elif IValidator.implementedBy(name_or_validator):
            name = name_or_validator.name