(self, traverser, items)
Traverse and separate the given *items* with a comma and append it to
        the buffer. If *items* is a single item sequence, a trailing comma
        will be added.
Traverse and separate the given *items* with a comma and append it to
        the buffer. If *items* is a single item sequence, a trailing comma
        will be added.
Traverse and separate the given * items * with a comma and append it to the buffer . If * items * is a single item sequence a trailing comma will be added .
def items_view(self, traverser, items):
        """Traverse and separate the given *items* with a comma and append it to
        the buffer. If *items* is a single item sequence, a trailing comma
        will be added."""
        if len(items) == 1:
            traverser(items[0])
            self.write(",")
        else:
            self.interleave(lambda: self.write(", "), traverser, items)
def items_view ( self , traverser , items ) : if len ( items ) == 1 : traverser ( items [ 0 ] ) self . write ( "," ) else : self . interleave ( lambda : self . write ( ", " ) , traverser , items )