cpython/Modules/_testcapi/getargs.c

/*
 * Tests for Python/getargs.c and Python/modsupport.c;
 * APIs that parse and build arguments.
 */

#include "parts.h"

static PyObject *
parse_tuple_and_keywords(PyObject *self, PyObject *args)
{}

static PyObject *
get_args(PyObject *self, PyObject *args)
{}

static PyObject *
get_kwargs(PyObject *self, PyObject *args, PyObject *kwargs)
{}

static PyObject *
getargs_w_star(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_w_star_opt(PyObject *self, PyObject *args)
{}

/* Test the old w and w# codes that no longer work */
static PyObject *
test_w_code_invalid(PyObject *self, PyObject *arg)
{}

static PyObject *
getargs_empty(PyObject *self, PyObject *args, PyObject *kwargs)
{}

/* Test tuple argument processing */
static PyObject *
getargs_tuple(PyObject *self, PyObject *args)
{}

/* test PyArg_ParseTupleAndKeywords */
static PyObject *
getargs_keywords(PyObject *self, PyObject *args, PyObject *kwargs)
{}

/* test PyArg_ParseTupleAndKeywords keyword-only arguments */
static PyObject *
getargs_keyword_only(PyObject *self, PyObject *args, PyObject *kwargs)
{}

/* test PyArg_ParseTupleAndKeywords positional-only arguments */
static PyObject *
getargs_positional_only_and_keywords(PyObject *self, PyObject *args,
                                     PyObject *kwargs)
{}

/* Functions to call PyArg_ParseTuple with integer format codes,
   and return the result.
*/
static PyObject *
getargs_b(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_B(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_h(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_H(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_I(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_k(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_i(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_l(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_n(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_p(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_L(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_K(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_f(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_d(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_D(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_S(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_Y(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_U(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_c(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_C(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_s(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_s_star(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_s_hash(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_z(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_z_star(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_z_hash(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_y(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_y_star(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_y_hash(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_es(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_et(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_es_hash(PyObject *self, PyObject *args)
{}

static PyObject *
getargs_et_hash(PyObject *self, PyObject *args)
{}

static PyObject *
gh_99240_clear_args(PyObject *self, PyObject *args)
{}

static PyMethodDef test_methods[] =;

int
_PyTestCapi_Init_GetArgs(PyObject *mod)
{}