[issue18335] Add textwrap.dedent, .indent, as str methods.
Martin Panter
report at bugs.python.org
Sun Sep 1 03:58:54 CEST 2013
Martin Panter added the comment:
If this goes ahead, would a bytes.dedent() method be also considered? I recently discovered that textwrap.dedent() does not work on bytes() in Python 3. I would have used it for the contents of an input file in a test case.
For the record there’s an older issue 1237680 on this, rejected in 2005.
----------
nosy: +vadmium
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18335>
_______________________________________
More information about the Python-bugs-list
mailing list