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

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/p/y/py_cache_manager-HEAD/tests/wrap_tests.py   py_cache_manager(Download)
    def test_self_registering_cache(self):
        for call_name in CacheWrap.CALLBACK_NAMES:
            cache_name = 'foo_' + call_name
            cache = CacheWrap(cache_name, cache_manager=self.manager,
                **{ call_name: self.fake_registration })
 
            registers = [reg for reg in CacheWrap.CALLBACK_NAMES if reg != call_name]