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

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

        def clear_cache():
    global _channel_repository_cache
    _channel_repository_cache = {}
        


src/c/h/ChocolateyPackages-HEAD/EthanBrown.SublimeText2.UtilPackages/tools/PackageCache/Package Control/package_control/package_manager.py   ChocolateyPackages(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort
        if filtered_settings != previous_settings and previous_settings != {}:
            console_write(u'Settings change detected, clearing cache', True)
            clear_cache()
        set_cache('filtered_settings', filtered_settings)
 

src/a/l/Alfred-Popclip-Sublime-HEAD/Sublime Text 2/Package Control/package_control/package_manager.py   Alfred-Popclip-Sublime(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort
        if filtered_settings != previous_settings and previous_settings != {}:
            console_write(u'Settings change detected, clearing cache', True)
            clear_cache()
        set_cache('filtered_settings', filtered_settings)
 

src/s/u/Sublime-Text-2-Settings-HEAD/Package Control/package_control/package_manager.py   Sublime-Text-2-Settings(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort
        if filtered_settings != previous_settings and previous_settings != {}:
            console_write(u'Settings change detected, clearing cache', True)
            clear_cache()
        set_cache('filtered_settings', filtered_settings)
 

src/f/e/FED-Sublime-Settings-HEAD/Package Control/package_control/package_manager.py   FED-Sublime-Settings(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort
        if filtered_settings != previous_settings and previous_settings != {}:
            console_write(u'Settings change detected, clearing cache', True)
            clear_cache()
        set_cache('filtered_settings', filtered_settings)
 

src/s/u/Sublime-Rails-Settings-HEAD/Package Control/package_control/package_manager.py   Sublime-Rails-Settings(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort
        if filtered_settings != previous_settings and previous_settings != {}:
            console_write(u'Settings change detected, clearing cache', True)
            clear_cache()
        set_cache('filtered_settings', filtered_settings)
 

src/s/u/sublime_package_control-HEAD/package_control/package_manager.py   sublime_package_control(Download)
from .rmtree import rmtree
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort
        if filtered_settings != previous_settings and previous_settings != {}:
            console_write(u'Settings change detected, clearing cache', True)
            clear_cache()
        set_cache('filtered_settings', filtered_settings)
 

src/s/y/sympy-polys-HEAD/sympy/core/numbers.py   sympy-polys(Download)
from expr import Expr
from decorators import _sympifyit
from cache import Memoizer, cacheit, clear_cache
import sympy.mpmath as mpmath
import sympy.mpmath.libmp as mlib
    """
    if _errdict["divide"] != divide:
        clear_cache()
        _errdict["divide"] = divide
 

src/b/l/blogplus-HEAD/storage.py   blogplus(Download)
# coding: utf-8
 
from cache import cached, clear_cache
from posts import isMeaningfulPost
import pymongo
        # update
        self.posts_.update({'id': post['id']}, {'$set': post})
    clear_cache()
 
  def getPost(self, id):