call site 0 for xml.Tag.__init__
apigen/rest/testing/test_rest.py - line 140
137
138
139
140
141
142
143
   def test_write_section(self):
       tempdir = temppath.ensure('htmldirwriter', dir=1)
       hdw = self.get_filled_writer(HTMLDirWriter, HTMLHandler, HTMLHandler,
->                                  tempdir)
       assert tempdir.join('foo.html').check(file=1)
       assert tempdir.join('bar.html').check(file=1)
       assert tempdir.join('foo.html').read().startswith('<html>')
apigen/rest/testing/test_rest.py - line 89
86
87
88
89
90
   def get_filled_writer(self, writerclass, *args, **kwargs):
       dw = writerclass(*args, **kwargs)
       dw.write_section('foo', Rest(Paragraph('foo data')))
->     dw.write_section('bar', Rest(Paragraph('bar data')))
       return dw
apigen/rest/genrest.py - line 175
168
169
170
171
172
173
174
175
176
   def write_section(self, name, rest):
       if name == 'index':
           handler = self.indexhandler
       else:
           handler = self.filehandler
       h = handler(name)
       t = RestTransformer(rest)
->     t.parse(h)
       self.directory.ensure('%s.html' % (name,)).write(h.html)
rest/transform.py - line 12
11
12
13
14
   def parse(self, handler):
->     handler.startDocument()
       self.parse_nodes(self.tree.children, handler)
       handler.endDocument()
rest/transform.py - line 110
108
109
110
111
112
113
114
115
116
   def startDocument(self):
       h = html.html()
->     self.head = head = html.head()
       self.title = title = html.title(self.title)
       self._push(h)
       h.append(head)
       h.append(title)
       self.body = body = html.body()
       self._push(body)