Searched refs:meth_o (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_call.py | 251 self.assertEqual(self.obj.meth_o(1), (self.expected_self, 1)) 254 self.assertEqual(self.obj.meth_o(*[1]), (self.expected_self, 1)) 257 msg = r"meth_o\(\) takes exactly one argument \(0 given\)" 258 self.assertRaisesRegex(TypeError, msg, self.obj.meth_o) 261 msg = r"meth_o\(\) takes exactly one argument \(2 given\)" 263 TypeError, msg, lambda: self.obj.meth_o(1, 2), 267 msg = r"meth_o\(\) takes exactly one argument \(3 given\)" 269 TypeError, msg, lambda: self.obj.meth_o(*(1, 2, 3)), 273 msg = r"meth_o\(\) takes no keyword arguments" 275 TypeError, msg, lambda: self.obj.meth_o( [all...] |
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 5643 meth_o(PyObject* self, PyObject* obj) in meth_o() function 6697 {"meth_o", meth_o, METH_O}, 7878 {"meth_o", meth_o, METH_O}, 7900 {"meth_o", meth_o, METH_O|METH_CLASS}, 7922 {"meth_o", meth_o, METH_O|METH_STATIC},
|
/third_party/python/Tools/clinic/ |
H A D | clinic.py | 680 meth_o = (len(parameters) == 1 and 818 elif meth_o:
|
Completed in 18 milliseconds