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

@ -72,6 +72,9 @@ Extension Modules
Library
-------
- Factored out the indentation cleaning from inspect.getdoc() into
inspect.cleandoc() to ease standalone use.
- Issue #1798: Add ctypes calling convention that allows safe access
to errno.