code: def visit_literal_block(self, node: nodes.literal_block) -> None:
      setting = self.settings[-1]
      if "language" not in node:
          node["language"] = setting.language
          node["force"] = setting.force
      if "linenos" not in node:
          lines = node.astext().count("\n")
          node["linenos"] = lines >= setting.lineno_threshold - 1
  
imports: from __future__ import annotations
  import sys
  from typing import TYPE_CHECKING, Any, NamedTuple
  from docutils import nodes
  from pygments.lexers import PythonConsoleLexer, guess_lexer
  from sphinx import addnodes
  from sphinx.ext import doctest
  from sphinx.transforms import SphinxTransform
label_desc: Use image node_id 9 for calling the HighlightLanguageVisitor obj's underlying member method code with example usage: obj.visit_literal_block(node) without return types