Did I find the right examples for you? yes no

All Samples(93)  |  Call(80)  |  Derive(0)  |  Import(13)
Return true if the object is an abstract base class (ABC).

        def isabstract(object):
    """Return true if the object is an abstract base class (ABC)."""
    return bool(isinstance(object, type) and object.__flags__ & TPFLAGS_IS_ABSTRACT)
        


src/t/a/taxon-0.2.1/taxon/__init__.py   taxon(Download)
    ismemberdescriptor)
try:
    from inspect import (
        isgeneratorfunction, isgenerator, isabstract)
except ImportError:

src/t/v/tvb-framework-HEAD/tvb/core/adapters/introspector.py   tvb-framework(Download)
                module_ref = eval("module_ref." + my_type)
                tree = [module_ref.__dict__[j] for j in [i for i in dir(module_ref)
                          if (inspect.isclass(module_ref.__dict__[i]) and not inspect.isabstract(module_ref.__dict__[i])
                             and issubclass(module_ref.__dict__[i], MappedType))]]
                for class_ref in tree:
                adapter = eval("adapter." + adapter_file)
                tree = [adapter.__dict__[j] for j in [i for i in dir(adapter)
                           if (inspect.isclass(adapter.__dict__[i]) and not inspect.isabstract(adapter.__dict__[i])
                               and issubclass(adapter.__dict__[i], ABCAdapter))]]
                for class_ref in tree:
                continue
            class_name = self.__get_classname(input_field[ATT_TYPE])
            if class_name is not None and not inspect.isabstract(class_name):
                all_datatypes.append(class_name.__name__)
                all_param_name.append(input_field[ATT_NAME])

src/p/y/PyModelFit-0.2dev/pymodelfit/core.py   PyModelFit(Download)
    """
    from operator import isSequenceType
    from inspect import isclass,isabstract
 
    res = [k for k,c in __model_registry.iteritems()
                     if (baseclass is None or issubclass(c,baseclass))
                     if (showabstract or not isabstract(c))]

src/a/b/Abjad-2.14/abjad/docs/source/_ext/restyle.py   Abjad(Download)
                for attribute in attributes:
                    classes_to_attributes[cls][attribute.name] = attribute
            if inspect.isabstract(cls):
                labelnode = addnodes.only(expr='html')
                labelnode.append(nodes.literal(

src/a/b/abjad-HEAD/abjad/docs/source/_ext/restyle.py   abjad(Download)
                for attribute in attributes:
                    classes_to_attributes[cls][attribute.name] = attribute
            if inspect.isabstract(cls):
                labelnode = addnodes.only(expr='html')
                labelnode.append(nodes.literal(

src/r/u/runpack-0.13.0/run/finder.py   runpack(Download)
        elif not issubclass(emitter.object, self._module_class):
            emitter.skip()
        elif inspect.isabstract(emitter.object):
            emitter.skip()
 

src/a/b/Abjad-2.14/abjad/tools/developerscripttools/get_developer_script_classes.py   Abjad(Download)
            if developerscripttools.DeveloperScript in \
                inspect.getmro(developer_script_class) and \
                not inspect.isabstract(developer_script_class):
                script_classes.append(developer_script_class)
 

src/a/b/abjad-HEAD/abjad/tools/developerscripttools/get_developer_script_classes.py   abjad(Download)
            if developerscripttools.DeveloperScript in \
                inspect.getmro(developer_script_class) and \
                not inspect.isabstract(developer_script_class):
                script_classes.append(developer_script_class)
 

src/r/a/raco-HEAD/raco/expression/util.py   raco(Download)
    opclasses = [opclass for opclass in allclasses
                 if issubclass(opclass, AggregateExpression)
                 and not inspect.isabstract(opclass)]
 
    return opclasses
    opclasses = [opclass for opclass in allclasses
                 if issubclass(opclass, BinaryOperator)
                 and not inspect.isabstract(opclass)]
    return opclasses
 

src/a/b/Abjad-2.14/abjad/tools/documentationtools/ClassDocumenter.py   Abjad(Download)
        Returns boolean.
        '''
        return inspect.isabstract(self.object_)
 
    @property

  1 | 2 | 3 | 4 | 5 | 6  Next