'Change parity setting.'

@parity.setter
def parity(self, parity):

    if (parity not in self.PARITIES):
        raise ValueError('Not    a    valid    parity:    {!r}'.format(parity))
    self._parity = parity
    if self.is_open:
        self._reconfigure_port()
