Searched refs:posonly_sum (Results 1 – 1 of 1) sorted by relevance
/third_party/python/Lib/test/ |
D | test_keywordonlyarg.py | 8 def posonly_sum(pos_arg1, *arg, **kwarg): function 90 self.assertEqual(1, posonly_sum(1)) 91 self.assertEqual(1+2, posonly_sum(1,**{"2":2})) 92 self.assertEqual(1+2+3, posonly_sum(1,*(2,3))) 93 self.assertEqual(1+2+3+4, posonly_sum(1,*(2,3),**{"4":4}))
|