Searched refs:empty_tuple (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Objects/ |
D | exceptions.c | 642 PyObject *empty_tuple; in ImportError_init() local 650 empty_tuple = PyTuple_New(0); in ImportError_init() 651 if (!empty_tuple) in ImportError_init() 653 if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OO:ImportError", kwlist, in ImportError_init() 655 Py_DECREF(empty_tuple); in ImportError_init() 658 Py_DECREF(empty_tuple); in ImportError_init() 1340 PyObject *empty_tuple = PyTuple_New(0); in NameError_init() local 1341 if (!empty_tuple) { in NameError_init() 1344 if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$O:NameError", kwlist, in NameError_init() 1346 Py_DECREF(empty_tuple); in NameError_init() [all …]
|
/third_party/python/Modules/ |
D | _lzmamodule.c | 84 PyObject *empty_tuple; member 272 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, in INT_TYPE_CONVERTER_FUNC() 300 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_delta() 324 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_bcj() 1525 state->empty_tuple = PyTuple_New(0); in lzma_exec() 1526 if (state->empty_tuple == NULL) { in lzma_exec() 1611 Py_VISIT(state->empty_tuple); in lzma_traverse() 1622 Py_CLEAR(state->empty_tuple); in lzma_clear()
|
/third_party/python/Lib/test/ |
D | test_getargs2.py | 1116 empty_tuple = () 1145 _testcapi.parse_tuple_and_keywords(empty_tuple, dict_b, 1160 empty_tuple = () 1172 parse(empty_tuple, dict_b, optional_format, keywords) 1176 parse(empty_tuple, dict_b, optional_format, keywords) 1183 parse(empty_tuple, dict_b, optional_format, keywords) 1187 parse(empty_tuple, dict_b, optional_format, keywords)
|
/third_party/python/Python/ |
D | Python-ast.c | 1065 PyObject *empty_tuple; in add_ast_fields() local 1066 empty_tuple = PyTuple_New(0); in add_ast_fields() 1067 if (!empty_tuple || in add_ast_fields() 1068 PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 || in add_ast_fields() 1069 PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 || in add_ast_fields() 1070 PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) { in add_ast_fields() 1071 Py_XDECREF(empty_tuple); in add_ast_fields() 1074 Py_DECREF(empty_tuple); in add_ast_fields()
|