'Set the patch joinstyle
ACCEPTS: [\'miter\' | \'round\' | \'bevel\']'

def set_joinstyle(self, s):

    s = s.lower()
    if (s not in self.validJoin):
        raise ValueError(((u'set_joinstyle    passed    "%s";\n' % (s,)) + (u'valid    joinstyles    are    %s' % (self.validJoin,))))
    self._joinstyle = s
    self.stale = True
