Nick Coghlan <ncogh...@gmail.com> added the comment:

The best solution is to modify the offending code to use real docstrings.

Failing that, a simple explicit "'\n'.join(line.lstrip('#' for line in 
comment.split('\n'))" (i.e. not as part of pydoc) will handle most cases.

Anything more sophisticated would need to be tailored to the comment format of 
the code that is missing docstrings.

----------
nosy: +ncoghlan
resolution:  -> rejected
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12630>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to