Home
last modified time | relevance | path

Searched refs:kwonly (Results 1 – 7 of 7) sorted by relevance

/external/python/apitools/apitools/base/protorpclite/
Dutil_test.py40 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/
Dtest_util.py19 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/
Dtest__helpers.py35 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/
Dmock.py174 regargs, varargs, varkw, defaults, kwonly, kwonlydef, ann = argspec
192 kwonly, kwonlydef, ann, formatvalue=lambda value: "")
/external/python/cpython3/Lib/
Dinspect.py1304 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/
Dtest_inspect.py2219 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/
Dexpressions.rst933 .. XXX update with kwonly args PEP