Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()

to ease standalone use of the algorithm.
This commit is contained in:
Georg Brandl 2008-06-07 15:59:10 +00:00
parent 6a5a177cba
commit 7be19aabe2
7 changed files with 125 additions and 100 deletions

View file

@ -15,7 +15,7 @@ These modules include:
.. toctree::
parser.rst
_ast.rst
ast.rst
symbol.rst
token.rst
keyword.rst