indent#

astropy.utils.misc.indent(s, shift=1, width=4)[source]#

Deprecated since version 6.1: The indent function is deprecated and may be removed in a future version. Use textwrap.indent() instead.

Indent a block of text. The indentation is applied to each line.