code: def clear_caches() -> None:
      """Jinja keeps internal caches for environments and lexers.  These are
      used so that Jinja doesn't have to recreate environments and lexers all
      the time.  Normally you don't have to care about that but if you are
      measuring memory consumption you may want to clean the caches.
      """
      from .environment import get_spontaneous_environment
      from .lexer import _lexer_cache
  
      get_spontaneous_environment.cache_clear()
      _lexer_cache.clear()
  
imports: import enum
  import json
  import os
  import re
  import typing
  from collections import abc
  from collections import deque
  from random import choice
  from random import randrange
  from threading import Lock
  from types import CodeType
  from urllib.parse import quote_from_bytes
  import markupsafe
label_desc: Use image node_id 7 for calling a global function with example usage: clear_caches() without return types