• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*[clinic input]
2 preserve
3 [clinic start generated code]*/
4 
5 static PyObject *
6 structseq_new_impl(PyTypeObject *type, PyObject *arg, PyObject *dict);
7 
8 static PyObject *
structseq_new(PyTypeObject * type,PyObject * args,PyObject * kwargs)9 structseq_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
10 {
11     PyObject *return_value = NULL;
12     static const char * const _keywords[] = {"sequence", "dict", NULL};
13     static _PyArg_Parser _parser = {"O|O:structseq", _keywords, 0};
14     PyObject *arg;
15     PyObject *dict = NULL;
16 
17     if (!_PyArg_ParseTupleAndKeywordsFast(args, kwargs, &_parser,
18         &arg, &dict)) {
19         goto exit;
20     }
21     return_value = structseq_new_impl(type, arg, dict);
22 
23 exit:
24     return return_value;
25 }
26 /*[clinic end generated code: output=cd643eb89b5d312a input=a9049054013a1b77]*/
27