Home | History | Annotate | Download | only in python2.7

Lines Matching refs:elements

93     elements = {}                       # default, to be overridden
119 self.elements = {}
132 start, end = self.elements.get(tag, (None, None))
134 self.elements[tag] = getattr(self, key), end
137 start, end = self.elements.get(tag, (None, None))
139 self.elements[tag] = start, getattr(self, key)
153 # backward compatibility hack: if elements not overridden,
155 if self.elements is XMLParser.elements:
179 # remove self.elements so that we don't leak
180 del self.elements
341 self.syntax_error('multiple DOCTYPE elements')
419 self.syntax_error('no elements in file')
608 self.syntax_error('multiple elements on top level')
666 method = self.elements.get(nstag, (None, None))[0]
729 method = self.elements.get(nstag, (None, None))[1]