class_docstr: Subclass of string that adds several additional methods.
class_docstr_tok: ["Subclass","of","string","that","adds","several","additional","methods","."]
code: def __format__(self, *args, **kwargs):
      if len(args) == 0:
          return super().__format__(*args, **kwargs)
  
      allowed_modifiers = {"dedent", "indent"}
      identation_modifier = args[0]
      parts = identation_modifier.split("*")
  
      if len(parts) == 1 and parts[0] in allowed_modifiers:
          return getattr(self, parts[0])()
      elif (
          len(parts) == 2
          and parts[0].isnumeric()
          and parts[1] in allowed_modifiers
      ):
          n_of_times = int(parts[0])
          modifier = parts[1]
          s = self
          for _ in range(n_of_times):
              s = getattr(s, modifier)()
          return s
  
      return super().__format__(*args, **kwargs)
  
file_path: deepchecks/deepchecks/utils/decorators.py
imports: import textwrap
  import typing
  from functools import wraps
  from deepchecks.utils.logger import get_logger
label_desc: Use image node_id 3 for calling the DocStr obj's underlying member method code with example usage: obj.__format__() and returns: super, super, getattr, s