~ubuntu-branches/ubuntu/jaunty/python-docutils/jaunty

« back to all changes in this revision

Viewing changes to docutils/readers/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2008-07-24 10:39:53 UTC
  • mfrom: (1.1.4 upstream) (3.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080724103953-8gh4uezg17g9ysgy
Tags: 0.5-2
* Upload docutils 0.5 to unstable
* Update rst.el to upstream Subversion r5596, which apparently fixes
  all its performance problems (17_speed_up_rst_el.dpatch, closes: #474941)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Authors: David Goodger; Ueli Schlaepfer
2
 
# Contact: goodger@users.sourceforge.net
3
 
# Revision: $Revision: 4183 $
4
 
# Date: $Date: 2005-12-12 05:12:02 +0100 (Mon, 12 Dec 2005) $
 
1
# $Id: __init__.py 4974 2007-03-01 18:06:52Z wiemann $
 
2
# Authors: David Goodger <goodger@python.org>; Ueli Schlaepfer
5
3
# Copyright: This module has been placed in the public domain.
6
4
 
7
5
"""
22
20
 
23
21
    Each reader module or package must export a subclass also called 'Reader'.
24
22
 
25
 
    The three steps of a Reader's responsibility are defined: `scan()`,
26
 
    `parse()`, and `transform()`. Call `read()` to process a document.
 
23
    The two steps of a Reader's responsibility are `scan()` and
 
24
    `parse()`.  Call `read()` to process a document.
27
25
    """
28
26
 
29
27
    component_type = 'reader'