~ubuntu-branches/ubuntu/dapper/python-docutils/dapper

« back to all changes in this revision

Viewing changes to docutils/readers/python/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-12-13 13:47:41 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213134741-fhuh5tq3n346q1oj
Tags: 0.3.9-0.1ubuntu1
Synchronize with Debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Author: David Goodger
2
2
# Contact: goodger@users.sourceforge.net
3
 
# Revision: $Revision: 1.7 $
4
 
# Date: $Date: 2004/07/25 01:45:26 $
 
3
# Revision: $Revision: 3038 $
 
4
# Date: $Date: 2005-03-14 17:16:57 +0100 (Mon, 14 Mar 2005) $
5
5
# Copyright: This module has been placed in the public domain.
6
6
 
7
7
"""
88
88
        node['docformat'] = docformat
89
89
        parser = self.get_parser(docformat)
90
90
        parser.parse(text, self.document)
91
 
        for child in self.document.get_children():
 
91
        for child in self.document.children:
92
92
            node.append(child)
93
93
        self.document.current_source = self.document.current_line = None
94
94
        del self.document[:]