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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/r/e/rebang-HEAD/1/BBS/myskoda/myskoda/1/common.py   rebang(Download)
def clear_cache_multi(pathlist = None):
    if pathlist:
        mc.delete_multi([str(p) for p in pathlist])
 
def clear_all_cache():

src/s/a/saepy-log-HEAD/common.py   saepy-log(Download)
def clear_cache_by_pathlist(pathlist = []):
    if pathlist and MC_Available:
        try:
            mc = pylibmc.Client()
            mc.delete_multi([str(p) for p in pathlist])

src/m/e/memcache-debug-panel-HEAD/test/__init__.py   memcache-debug-panel(Download)
        # delete_multi (pylibmc implements this as foreach keys delete)
        n = memcache_toolbar.panels.instance.size()
        self.assertTrue(client.delete_multi(multi_keys), 'delete_multi')
        calls = memcache_toolbar.panels.instance.calls()
        # before + num_keys + the delete_multi

src/c/a/Cache-Debug-Toolbar-HEAD/test/__init__.py   Cache-Debug-Toolbar(Download)
        # delete_multi (pylibmc implements this as foreach keys delete)
        n = cache_toolbar.panels.instance.size()
        self.assertTrue(client.delete_multi(multi_keys), 'delete_multi')
        calls = cache_toolbar.panels.instance.calls()
        # before + num_keys + the delete_multi