def items(self):
        """Returns a depth-first flat list of all items in the document"""
        l = []
        for e in self.data:
            l += e.items()
        return l
def items ( self ) : l = [ ] for e in self . data : l += e . items ( ) return l
Returns a depth-first flat list of all items in the document