

def _indent(docstring, text):
    '\n    Returns text indented at appropriate indententation level.\n    '
    if (not lines):
        return text
    lines = docstring.expandtabs().splitlines()
    indent = _min_indent(lines)
    if (indent < _maxsize):
        newlines = _trim(text, return_lines=True)
        return ('\n' + '\n'.join([((' ' * indent) + line) for line in newlines]))
    else:
        return ('\n' + text)

dataset/ETHPy150Open Calysto/metakernel/metakernel/magic.py _indent/VarMisuse@17/41 `docstring`->`lines`