parameters: (normalized_path, cache, updater=None)
docstring: Update zipimporter cache data for a given normalized path.
  
      Any sub-path entries are processed as well, i.e. those corresponding to zip
      archives embedded in other zip archives.
  
      Given updater is a callable taking a cache entry key and the original entry
      (after already removing the entry from the cache), and expected to update
      the entry and possibly return a new one to be inserted in its place.
      Returning None indicates that the entry should not be replaced with a new
      one. If no updater is given, the cache entries are simply removed without
      any additional processing, the same as if the updater simply returned None.
docstring_summary: Update zipimporter cache data for a given normalized path.
docstring_tokens: Update zipimporter cache data for a given normalized path .
function: def _update_zipimporter_cache(normalized_path, cache, updater=None):
      """
      Update zipimporter cache data for a given normalized path.
  
      Any sub-path entries are processed as well, i.e. those corresponding to zip
      archives embedded in other zip archives.
  
      Given updater is a callable taking a cache entry key and the original entry
      (after already removing the entry from the cache), and expected to update
      the entry and possibly return a new one to be inserted in its place.
      Returning None indicates that the entry should not be replaced with a new
      one. If no updater is given, the cache entries are simply removed without
      any additional processing, the same as if the updater simply returned None.
  
      """
      for p in _collect_zipimporter_cache_entries(normalized_path, cache):
          # N.B. pypy's custom zipimport._zip_directory_cache implementation does
          # not support the complete dict interface:
          # * Does not support item assignment, thus not allowing this function
          #    to be used only for removing existing cache entries.
          #  * Does not support the dict.pop() method, forcing us to use the
          #    get/del patterns instead. For more detailed information see the
          #    following links:
          #      https://github.com/pypa/setuptools/issues/202#issuecomment-202913420
          #      http://bit.ly/2h9itJX
          old_entry = cache[p]
          del cache[p]
          new_entry = updater and updater(p, old_entry)
          if new_entry is not None:
              cache[p] = new_entry
function_tokens: def _update_zipimporter_cache ( normalized_path , cache , updater = None ) : for p in _collect_zipimporter_cache_entries ( normalized_path , cache ) : # N.B. pypy's custom zipimport._zip_directory_cache implementation does # not support the complete dict interface: # * Does not support item assignment, thus not allowing this function #    to be used only for removing existing cache entries. #  * Does not support the dict.pop() method, forcing us to use the #    get/del patterns instead. For more detailed information see the #    following links: #      https://github.com/pypa/setuptools/issues/202#issuecomment-202913420 #      http://bit.ly/2h9itJX old_entry = cache [ p ] del cache [ p ] new_entry = updater and updater ( p , old_entry ) if new_entry is not None : cache [ p ] = new_entry