code: def fix_indentation(code, base_indentation=None, correct_indentation="",
                      modifiers=(True, True)):
      
      if base_indentation is None:
          base_indentation = get_base_indentation(code, modifiers[0])
      return re_line_and_indentation(base_indentation, modifiers).sub(
          "\n" + correct_indentation, code)
docs: Replaces base_indentation at beginning of lines with correct_indentation.
  
      If base_indentation is None, tries to find it using get_base_indentation.
      modifiers are passed to re_line_and_indentation. See there for doc.