def __init__(self, doc, name, inlist=False):
        """
        
        Arguments:
        - `doc`: the dictionary that is to be documented
        - `name`: the name of the collection
        - `inlist`: did this dict come from a list?
        """

        self._doc = doc
        if inlist:
            self._name = '{0} <list>'.format(name)
        else:
            self._name = name
        self._max_row_width = 0
        self._subdocs = []
        self._subdoc_rows = None
        self._rows = []
        self._text = None
        self.get_subdocs(doc)
        self.get_rows(doc)
        self._width = self._get_width()
def __init__ ( self , doc , name , inlist = False ) : self . _doc = doc if inlist : self . _name = '{0} <list>' . format ( name ) else : self . _name = name self . _max_row_width = 0 self . _subdocs = [ ] self . _subdoc_rows = None self . _rows = [ ] self . _text = None self . get_subdocs ( doc ) self . get_rows ( doc ) self . _width = self . _get_width ( )
Arguments:
        - `doc`: the dictionary that is to be documented
        - `name`: the name of the collection
        - `inlist`: did this dict come from a list?