[issue27043] Describe what ‘inspect.cleandoc’ does to synopsis line.
Ben Finney
report at bugs.python.org
Fri May 27 23:53:32 EDT 2016
Ben Finney added the comment:
On 27-May-2016, Nathan Harold wrote:
>
> Split version (cleandoc2.patch):
>
> Clean up indentation from docstrings that are indented to line up
> with blocks of code.
>
> All leading whitespace is removed from the first line. Any
> leading whitespace that can be uniformly removed from the second
> line onwards is removed. Empty lines at the beginning and end are
> subsequently removed. Also, all tabs are expanded to spaces.
That looks good to me.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27043>
_______________________________________
More information about the Python-bugs-list
mailing list