/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 | 33 def function(pos, kwonly=None): argument 37 self.assertTrue(function(1, kwonly=2)) 53 def function3(pos, kwonly=None): argument 57 self.assertTrue(function3(1, kwonly=2)) 66 def function(pos, kwonly=None): argument 77 def function(pos, kwonly=None): argument
|
/external/tensorflow/tensorflow/python/eager/ |
D | function_test.py | 4306 def func(arg: ops.Tensor, *args, kwonly, **kwargs): argument 4307 del args, kwonly, kwargs 4313 enabled(1, 2, 3, 4, kwonly=5, kwarg1=6, kwarg2=7) 4314 enabled(100, 2, 3, 4, kwonly=5, kwarg1=6, kwarg2=7) # No retrace 4315 enabled(1000, 2, 3, 4, kwonly=5, kwarg1=6, kwarg2=7) # No retrace 4316 enabled(1, 20, 30, 40, kwonly=5, kwarg1=6, kwarg2=7) # Retrace 4317 enabled(1, 2, 3, 4, kwonly=50, kwarg1=6, kwarg2=7) # Retrace 4318 enabled(1, 2, 3, 4, kwonly=5, kwarg1=60, kwarg2=70) # Retrace 4324 def func(arg, *args: ops.Tensor, kwonly, **kwargs): argument 4325 del args, kwonly, kwargs [all …]
|
/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 | 1345 def _too_many(f_name, args, kwonly, varargs, defcount, given, values): argument 1347 kwonly_given = len([arg for arg in kwonly if arg in values])
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 2408 def func(a,b, *args, kwonly=True, kwonlyreq, **kwargs): argument 2464 def func(a,b, *args, kwonly=True, kwonlyreq, **kwargs): argument
|
/external/python/cpython3/Doc/reference/ |
D | expressions.rst | 943 .. XXX update with kwonly args PEP
|