parameters: (filename, module_globals=None)
docstring: Get the lines for a Python source file from the cache.
      Update the cache if it doesn't contain an entry for this file already.
docstring_summary: Get the lines for a Python source file from the cache.
      Update the cache if it doesn't contain an entry for this file already.
docstring_tokens: Get the lines for a Python source file from the cache . Update the cache if it doesn t contain an entry for this file already .
function: def getlines(filename, module_globals=None):
      """Get the lines for a Python source file from the cache.
      Update the cache if it doesn't contain an entry for this file already."""
  
      if filename in cache:
          entry = cache[filename]
          if len(entry) != 1:
              return cache[filename][2]
  
      try:
          return updatecache(filename, module_globals)
      except MemoryError:
          clearcache()
          return []
function_tokens: def getlines ( filename , module_globals = None ) : if filename in cache : entry = cache [ filename ] if len ( entry ) != 1 : return cache [ filename ] [ 2 ] try : return updatecache ( filename , module_globals ) except MemoryError : clearcache ( ) return [ ]