def dedent(string): if string is not None: return auto_doc.dedent(string).lstrip(' ') else: return '\n'