/external/python/apitools/apitools/base/protorpclite/ |
D | util_test.py | 40 def fn(kwonly=1): argument 41 return [kwonly] 43 self.assertEquals([2], fn(kwonly=2)) 51 def fn(pos, kwonly=1): argument 52 return [pos, kwonly] 54 self.assertEquals([2, 2], fn(2, kwonly=2)) 62 def fn(pos1, pos2=1, kwonly=1): argument 63 return [pos1, pos2, kwonly] 66 self.assertEquals([2, 3, 4], fn(2, 3, kwonly=4)) 76 def meth(self, pos1, kwonly=1): argument [all …]
|
/external/python/oauth2client/tests/ |
D | test_util.py | 19 def fn(pos, kwonly=None): argument 23 self.assertTrue(fn(1, kwonly=2)) 39 def fn3(pos, kwonly=None): argument 43 self.assertTrue(fn3(1, kwonly=2)) 52 def fn(pos, kwonly=None): argument 63 def fn(pos, kwonly=None): argument
|
/external/python/google-api-python-client/tests/ |
D | test__helpers.py | 35 def function(pos, kwonly=None): argument 39 self.assertTrue(function(1, kwonly=2)) 55 def function3(pos, kwonly=None): argument 59 self.assertTrue(function3(1, kwonly=2)) 69 def function(pos, kwonly=None): argument 80 def function(pos, kwonly=None): argument
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 174 regargs, varargs, varkw, defaults, kwonly, kwonlydef, ann = argspec 192 kwonly, kwonlydef, ann, formatvalue=lambda value: "")
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1304 def _too_many(f_name, args, kwonly, varargs, defcount, given, values): argument 1306 kwonly_given = len([arg for arg in kwonly if arg in values])
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 2219 def func(a,b, *args, kwonly=True, kwonlyreq, **kwargs): argument 2275 def func(a,b, *args, kwonly=True, kwonlyreq, **kwargs): argument
|
/external/python/cpython3/Doc/reference/ |
D | expressions.rst | 933 .. XXX update with kwonly args PEP
|