def get_indent_string(srcline):
    """
    Determines and returns how the line passed in is indented. That 
    information is used by rework() so that it can determine how much
    indentation to use to insert lines into the source. 
    """
    indent = ""
    for ch in srcline:
        if not ch.isspace():
            break
        indent += ch
    return indent

    Determines and returns how the line passed in is indented. That 
    information is used by rework() so that it can determine how much
    indentation to use to insert lines into the source. 
    
recipes/Python/362305_Making_self_implicit_in_objects/recipe-362305.py