def textindent(t, indent=0):
 return '\n'.join((((' ' * indent) + p) for p in t.split('\n')))

def textindent ( t , indent = 0 ) : return '\n' . join ( ( ( ( ' ' * indent ) + p ) for p in t . split ( '\n' ) ) )
indent text .