Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_getargs2.py851 from _testcapi import getargs_s
852 self.assertEqual(getargs_s('abc\xe9'), b'abc\xc3\xa9')
853 self.assertRaises(ValueError, getargs_s, 'nul:\0')
854 self.assertRaises(TypeError, getargs_s, b'bytes')
855 self.assertRaises(TypeError, getargs_s, bytearray(b'bytearray'))
856 self.assertRaises(TypeError, getargs_s, memoryview(b'memoryview'))
857 self.assertRaises(TypeError, getargs_s, None)
/third_party/python/Modules/
D_testcapimodule.c1471 getargs_s(PyObject *self, PyObject *args) in getargs_s() function
5728 {"getargs_s", getargs_s, METH_VARARGS},