Home
last modified time | relevance | path

Searched refs:makeCallable (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_inspect.py714 def makeCallable(self, signature): member in TestGetcallargsFunctions
725 f = self.makeCallable('a, b=1')
753 f = self.makeCallable('a, b=1, *c')
762 f = self.makeCallable('a, b=1, **c')
779 f = self.makeCallable('**c')
788 f = self.makeCallable('(b,c), (d,(e,f))=(0,[1,2])')
797 f = self.makeCallable('a, b=2, (c,(d,e))=(3,[4,5]), *f, **g')
809 f0 = self.makeCallable('')
810 f1 = self.makeCallable('a, b')
811 f2 = self.makeCallable('a, b=1')
[all …]
/external/python/cpython3/Lib/test/
Dtest_inspect.py1301 def makeCallable(self, signature): member in TestGetcallargsFunctions
1307 f = self.makeCallable('a, b=1')
1330 f = self.makeCallable('a, b=1, *c')
1339 f = self.makeCallable('a, b=1, **c')
1352 f = self.makeCallable('**c')
1361 f = self.makeCallable('a=3, *, c, d=2')
1371 f = self.makeCallable('*, c, d=2')
1377 f = self.makeCallable('a, b=2, *f, **g')
1389 f = self.makeCallable('a, b=2, *f, x, y=99, **g')
1401 f0 = self.makeCallable('')
[all …]