Searched refs:mixedargs_sum (Results 1 – 1 of 1) sorted by relevance
/third_party/python/Lib/test/ |
D | test_keywordonlyarg.py | 16 def mixedargs_sum(a, b=0, *arg, k1, k2=0): function 104 self.assertEqual(1+2, mixedargs_sum(1, k1=2)) 105 self.assertEqual(1+2+3, mixedargs_sum(1, 2, k1=3)) 106 self.assertEqual(1+2+3+4, mixedargs_sum(1, 2, k1=3, k2=4)) 107 self.assertEqual(1+2+3+4+5, mixedargs_sum(1, 2, 3, k1=4, k2=5))
|