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

« back to all changes in this revision

Viewing changes to docutils/writers/null.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Author: David Goodger
 
2
# Contact: goodger@python.org
 
3
# Revision: $Revision: 3892 $
 
4
# Date: $Date: 2005-09-20 22:04:53 +0200 (Tue, 20 Sep 2005) $
 
5
# Copyright: This module has been placed in the public domain.
 
6
 
 
7
"""
 
8
A do-nothing Writer.
 
9
"""
 
10
 
 
11
from docutils import writers
 
12
 
 
13
 
 
14
class Writer(writers.UnfilteredWriter):
 
15
 
 
16
    supported = ('null',)
 
17
    """Formats this writer supports."""
 
18
 
 
19
    config_section = 'null writer'
 
20
    config_section_dependencies = ('writers',)
 
21
 
 
22
    def translate(self):
 
23
        pass