Out-denting multiline comments

Steve Holden sholden at holdenweb.com
Fri Aug 9 14:08:40 CEST 2002

"Ville Vainio" <vvainio at tp.spt.fi> wrote in message
news:ad496f8.0208082332.513a85f0 at posting.google.com...
> "Delaney, Timothy" <tdelaney at avaya.com> wrote in message
news:<mailman.1028849175.24992.python-list at python.org>...
> > > From: Max M [mailto:maxm at mxm.dk]
> > >
> > > Is there a standard idiom for un-tabbing, de-denting, un-denting (or
> > There's been talk of exposing this functionality outside of this one
> > though (since it is useful for things other than docstrings).
> Yes, it was discussed on Python-Dev a while back (until Guide told us
> to move the discussion here), and apparently implementing a "dedent"
> method in the upcoming textwrap module got some support. What is not
> clear, however, is who should implement (ie copy-paste from inspect)
> the method. I was told to "go for it", which probably means that it's
> good idea - but having no write access to python CVS means someone
> else should probably do it.

Not at all. Anybody can submit a patch (best as context diffs from the CVS
source) to the SourceForge site for consdideration and potential inclusion
by a developer with commit access. And, of course, read access to the CVS
code base is public!

This means that you are undoubtedly the best person for the job, as nobody
else will be so motivated.

looking-forward-to-seeing-the-patch-ly y'rs  - steve
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/

More information about the Python-list mailing list