Commits

Thomas Waldmann committed 0899265

add a serialize method to BaseWriter class (raises NotImplementedError)

Comments (0)

Files changed (1)

emeraldtree/tree.py

     def serialize_document_start(self, write):
         pass
 
+    def serialize(self, write, elem, qnames, namespaces={}):
+        raise NotImplementedError
+
     def write(self, write, element, document=False):
         qnames, namespaces = self._namespaces(element)