equal
deleted
inserted
replaced
442 |
442 |
443 class match_rtype(ExpectedValueSelector): |
443 class match_rtype(ExpectedValueSelector): |
444 """accept if parameters specified as initializer arguments are specified |
444 """accept if parameters specified as initializer arguments are specified |
445 in named arguments given to the selector |
445 in named arguments given to the selector |
446 |
446 |
447 :param *expected: parameters (eg `basestring`) which are expected to be |
447 :param \*expected: parameters (eg `basestring`) which are expected to be |
448 found in named arguments (kwargs) |
448 found in named arguments (kwargs) |
449 """ |
449 """ |
450 def __init__(self, *expected, **more): |
450 def __init__(self, *expected, **more): |
451 self.expected = expected |
451 self.expected = expected |
452 self.frometypes = more.pop('frometypes', None) |
452 self.frometypes = more.pop('frometypes', None) |
453 self.toetypes = more.pop('toetypes', None) |
453 self.toetypes = more.pop('toetypes', None) |