[Python-Dev] Re: PEP 295 - Interpretation of multiline string constants

Ka-Ping Yee python-dev@zesty.ca
Thu, 25 Jul 2002 15:33:38 -0700 (PDT)


On Fri, 26 Jul 2002, Delaney, Timothy wrote:
> You might find support for a library function which performed the
> transformation that you desire (if there's a good enough use case for it).

inspect.getdoc(object) provides this, for docstrings.  There's no
function in the library to do this in general to any string, though.


-- ?!ng

"Mathematics isn't about what's true.  It's about what can be concluded
from what."