SIGN IN SIGN UP

SF patch #598163 (Ville Vainio, vvainio@users.sourceforge.net):

add dedent() function, to remove indentation from multiline strings
(eg. triple-quoted strings).  Differs from inspect.getdoc() by not
special-casing the first line (often a sensible approach for
non-docstring multiline strings).  This should make this function more
general (symmetric 'indent' also possible), and more fitting for the
textwrap module.
G
Greg Ward committed
478cd48dee2e40fe009d07c73360c9abbed2ffe4
Parent: 4656ed4