Source code for thriftpool.utils.text

from __future__ import absolute_import


[docs]def indent(t, indent=0): """Indent text.""" return '\n'.join(' ' * indent + p for p in t.split('\n'))

Project Versions

This Page