code: def _appendSegment(self, type=None, points=None, smooth=False, **kwargs):
          
          self._insertSegment(len(self), type=type, points=points,
                              smooth=smooth, **kwargs)
docs: Subclasses may override this method.