@property
def parameter_mismatches(self):
    errs = []
    signature_params = self.signature_parameters
    doc_params = tuple(self.doc_parameters)
    missing = (set(signature_params) - set(doc_params))
    if missing:
        errs.append('Parameters {} not documented'.format(pprint_thing(missing)))
    extra = (set(doc_params) - set(signature_params))
    if extra:
        errs.append('Unknown parameters {}'.format(pprint_thing(extra)))
    if ((not missing) and (not extra) and (signature_params != doc_params) and (not ((not signature_params) and (not doc_params)))):
        errs.append((('Wrong parameters order. ' + 'Actual: {!r}. '.format(signature_params)) + 'Documented: {!r}'.format(doc_params)))
    return errs
@property
def parameter_mismatches(self):
    errs = []
    signature_params = self.signature_parameters
    doc_params = tuple(self.doc_parameters)
    missing = (set(signature_params) - set(doc_params))
    if missing:
        errs.append('Parameters {} not documented'.format(pprint_thing(missing)))
    extra = (set(doc_params) - set(signature_params))
    if extra:
        errs.append('Unknown parameters {}'.format(pprint_thing(extra)))
    if ((not missing) and (not extra) and (signature_params != doc_params) and (not ((not signature_params) and (not doc_params)))):
        errs.append((('Wrong parameters order. ' + 'Actual: {!r}. '.format(signature_params)) + 'Documented: {!r}'.format(doc_params)))
    return errs