Module Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore BinOpMult Str NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return Str orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice NameLoad NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad NameLoad Return SubscriptLoad NameLoad Slice Call NameLoad NameLoad decorator_list
N/A N/A re N/A indent_regex N/A N/A re compile \s+ add_indent N/A N/A lines indent N/A 4 N/A N/A  Add spaces to indent a list of lines.

    Arguments
    ---------
    lines : list
        The list of strings to indent.

    indent : int
        The number of spaces to add.

    Returns
    -------
    lines : list
        The indented strings (lines).

    .. note:: Empty strings are not changed

     N/A indent_str N/A indent N/A output N/A N/A line lines N/A N/A N/A is_empty line N/A N/A N/A N/A output append line N/A N/A N/A N/A output append N/A indent_str line N/A output N/A remove_indent N/A N/A lines N/A N/A N/A  Remove all indentation from the lines.

     N/A N/A N/A N/A line lstrip N/A line lines N/A get_indent N/A N/A line N/A N/A N/A  Return the indent portion of the line.

     N/A indent N/A N/A indent_regex match line N/A N/A indent None N/A N/A N/A N/A N/A N/A indent group N/A is_empty N/A N/A line N/A N/A N/A N/A N/A N/A line strip N/A fix_star N/A N/A word N/A N/A N/A N/A N/A word replace * \* N/A fix_backspace N/A N/A word N/A N/A N/A N/A N/A word replace \ \\ N/A replace_at N/A N/A word line index N/A N/A N/A  Replace the text in-line.

    The text in line is replaced (not inserted) with the word. The
    replacement starts at the provided index. The result is cliped to
    the input length

    Arguments
    ---------
    word : str
        The text to copy into the line.

    line : str
        The line where the copy takes place.

    index : int
        The index to start coping.

    Returns
    -------
    result : str
        line of text with the text replaced.

     N/A word_length N/A len word N/A result N/A N/A N/A line N/A index word N/A line N/A N/A index word_length N/A N/A result N/A N/A len line N/A