code: def get_style(self, stylename: str) -> type[Style]:
      if not stylename or stylename == "sphinx":
          return SphinxStyle
      elif stylename == "none":
          return NoneStyle
      elif "." in stylename:
          module, stylename = stylename.rsplit(".", 1)
          return getattr(import_module(module), stylename)
      else:
          return get_style_by_name(stylename)
  
file_path: sphinx/sphinx/highlighting.py
imports: from __future__ import annotations
  from functools import partial
  from importlib import import_module
  from typing import TYPE_CHECKING, Any
  from pygments import highlight
  from pygments.filters import ErrorToken
  from pygments.formatters import HtmlFormatter, LatexFormatter
  from pygments.lexers import CLexer, PythonConsoleLexer, PythonLexer, RstLexer, TextLexer, get_lexer_by_name, guess_lexer
  from pygments.styles import get_style_by_name
  from pygments.util import ClassNotFound
  from sphinx.locale import __
  from sphinx.pygments_styles import NoneStyle, SphinxStyle
  from sphinx.util import logging, texescape
label_desc: Use image node_id 2 for calling the PygmentsBridge obj's underlying member method code with example usage: obj.get_style(stylename) and returns: SphinxStyle, NoneStyle, getattr, get_style_by_name