Searched refs:getargs_n (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_getargs2.py | 194 from _testcapi import getargs_n 197 self.assertRaises(TypeError, getargs_n, 3.14) 198 self.assertEqual(99, getargs_n(Long())) 199 self.assertEqual(99, getargs_n(Int())) 201 self.assertRaises(OverflowError, getargs_n, PY_SSIZE_T_MIN-1) 202 self.assertEqual(PY_SSIZE_T_MIN, getargs_n(PY_SSIZE_T_MIN)) 203 self.assertEqual(PY_SSIZE_T_MAX, getargs_n(PY_SSIZE_T_MAX)) 204 self.assertRaises(OverflowError, getargs_n, PY_SSIZE_T_MAX+1) 206 self.assertEqual(42, getargs_n(42)) 207 self.assertEqual(42, getargs_n(42L)) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | _testcapimodule.c | 935 getargs_n(PyObject *self, PyObject *args) in getargs_n() function 1672 {"getargs_n", getargs_n, METH_VARARGS},
|