class_docstr: Merge multiple `Style` objects into one.
  This is supposed to ensure consistency: if any of the given styles changes,
  then this style will be updated.
class_docstr_tok: ["Merge","multiple","`","Style","`","objects","into","one",".","This","is","supposed","to","ensure","consistency",":","if","any","of","the","given","styles","changes",",","then","this","style","will","be","updated","."]
docstr: The `Style` object that has the other styles merged together.
docstr_tok: ["The","`","Style","`","object","that","has","the","other","styles","merged","together","."]
code: def _merged_style(self) -> Style:
      "The `Style` object that has the other styles merged together."
  
      def get() -> Style:
          return Style(self.style_rules)
  
      return self._style.get(self.invalidation_hash(), get)
  
imports: from __future__ import annotations
  import itertools
  import re
  from enum import Enum
  from typing import Hashable, TypeVar
  from prompt_toolkit.cache import SimpleCache
  from .base import ANSI_COLOR_NAMES, ANSI_COLOR_NAMES_ALIASES, DEFAULT_ATTRS, Attrs, BaseStyle
  from .named_colors import NAMED_COLORS
label_desc: Use image node_id 2 for calling the _MergedStyle obj's underlying member method code with example usage: obj._merged_style() and returns: self, Style