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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
ifilter(function or None, sequence) --> ifilter object

Return those items of sequence for which function(item) is true.
If function is None, return the items that are true.

src/n/a/Nagstamon-HEAD/Nagstamon/Nagstamon/thirdparty/keyring/backend.py   Nagstamon(Download)
from . import backends
from .util import properties
from .py27compat import add_metaclass, filter
 
class KeyringBackendMeta(abc.ABCMeta):
 
    all_classes = KeyringBackend._classes
    viable_classes = filter(is_class_viable, all_classes)
    return list(util.suppress_exceptions(viable_classes,
        exceptions=TypeError))

src/k/e/keyring-3.7/keyring/backend.py   keyring(Download)
from . import backends
from .util import properties
from .py27compat import add_metaclass, filter
 
class KeyringBackendMeta(abc.ABCMeta):
 
    all_classes = KeyringBackend._classes
    viable_classes = filter(is_class_viable, all_classes)
    return list(util.suppress_exceptions(viable_classes,
        exceptions=TypeError))