[Python-Dev] query: docstring formatting in python distutils code (original) (raw)

Steve Holden steve at holdenweb.com
Fri Jul 9 01:14:11 CEST 2010


Fred Drake wrote:

On Thu, Jul 8, 2010 at 5:42 PM, Alexander Belopolsky <alexander.belopolsky at gmail.com> wrote:

I am against mark-up in doc-strings, but this problem can be easily solved by placing a magic character at doc[0] to indicate that the rest is (mini)reST. Or docformat can be set appropriately. See: http://www.python.org/dev/peps/pep-0258/#id42 That is so Python 2 ;-)

regards Steve

Steve Holden +1 571 484 6266 +1 800 494 3119 DjangoCon US September 7-9, 2010 http://djangocon.us/ See Python Video! http://python.mirocommunity.org/ Holden Web LLC http://www.holdenweb.com/



More information about the Python-Dev mailing list