Changeset 4427:63eed875a7d1 in livinglogic.python.xist

Show
Ignore:
Timestamp:
03/17/11 18:40:54 (8 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

ReSTify doc2txt docstring.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/scripts/doc2txt.py

    r4422 r4427  
    1212""" 
    1313Module that uses :func:`html.astext` to generate a text version of a doc fragment. 
    14 Usage: doc2txt spam.xml spam.txt 
    15        to generate spam.txt from spam.xml 
     14 
     15Usage:: 
     16 
     17    doc2txt spam.xml spam.txt 
     18 
     19to generate ``spam.txt`` from ``spam.xml`` 
    1620""" 
    17  
    18  
    19 __docformat__ = "reStructuredText" 
    2021 
    2122 
     
    2627 
    2728 
    28 __docformat__ = "plaintext" 
     29__docformat__ = "reStructuredText" 
    2930 
    3031