cpython/Modules/clinic/_testclinic_depr.c.h

/*[clinic input]
preserve
[clinic start generated code]*/

#if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
#  include "pycore_gc.h"          // PyGC_Head
#endif
#include "pycore_abstract.h"      // _PyNumber_Index()
#include "pycore_long.h"          // _PyLong_UnsignedShort_Converter()
#include "pycore_modsupport.h"    // _PyArg_CheckPositional()
#include "pycore_runtime.h"       // _Py_ID()
#include "pycore_tuple.h"         // _PyTuple_FromArray()

PyDoc_STRVAR(depr_star_new__doc__,
"DeprStarNew(a=None)\n"
"--\n"
"\n"
"The deprecation message should use the class name instead of __new__.\n"
"\n"
"Note: Passing positional arguments to _testclinic.DeprStarNew() is\n"
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

static PyObject *
depr_star_new_impl(PyTypeObject *type, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprStarNew.__new__'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprStarNew.__new__'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprStarNew.__new__'."
#  endif
#endif

static PyObject *
depr_star_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
{}

PyDoc_STRVAR(depr_star_new_clone__doc__,
"cloned($self, /, a=None)\n"
"--\n"
"\n"
"Note: Passing positional arguments to _testclinic.DeprStarNew.cloned()\n"
"is deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

#define DEPR_STAR_NEW_CLONE_METHODDEF

static PyObject *
depr_star_new_clone_impl(PyObject *type, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprStarNew.cloned'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprStarNew.cloned'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprStarNew.cloned'."
#  endif
#endif

static PyObject *
depr_star_new_clone(PyObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_init__doc__,
"DeprStarInit(a=None)\n"
"--\n"
"\n"
"The deprecation message should use the class name instead of __init__.\n"
"\n"
"Note: Passing positional arguments to _testclinic.DeprStarInit() is\n"
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

static int
depr_star_init_impl(PyObject *self, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprStarInit.__init__'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprStarInit.__init__'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprStarInit.__init__'."
#  endif
#endif

static int
depr_star_init(PyObject *self, PyObject *args, PyObject *kwargs)
{}

PyDoc_STRVAR(depr_star_init_clone__doc__,
"cloned($self, /, a=None)\n"
"--\n"
"\n"
"Note: Passing positional arguments to\n"
"_testclinic.DeprStarInit.cloned() is deprecated. Parameter \'a\' will\n"
"become a keyword-only parameter in Python 3.14.\n"
"");

#define DEPR_STAR_INIT_CLONE_METHODDEF

static PyObject *
depr_star_init_clone_impl(PyObject *self, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprStarInit.cloned'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprStarInit.cloned'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprStarInit.cloned'."
#  endif
#endif

static PyObject *
depr_star_init_clone(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

static int
depr_star_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
                             PyObject *c, const char *d, Py_ssize_t d_length);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprStarInitNoInline.__init__'."
#  endif
#endif

static int
depr_star_init_noinline(PyObject *self, PyObject *args, PyObject *kwargs)
{}

PyDoc_STRVAR(depr_kwd_new__doc__,
"DeprKwdNew(a=None)\n"
"--\n"
"\n"
"The deprecation message should use the class name instead of __new__.\n"
"\n"
"Note: Passing keyword argument \'a\' to _testclinic.DeprKwdNew() is\n"
"deprecated. Parameter \'a\' will become positional-only in Python 3.14.\n"
"");

static PyObject *
depr_kwd_new_impl(PyTypeObject *type, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprKwdNew.__new__'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprKwdNew.__new__'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprKwdNew.__new__'."
#  endif
#endif

static PyObject *
depr_kwd_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
{}

PyDoc_STRVAR(depr_kwd_init__doc__,
"DeprKwdInit(a=None)\n"
"--\n"
"\n"
"The deprecation message should use the class name instead of __init__.\n"
"\n"
"Note: Passing keyword argument \'a\' to _testclinic.DeprKwdInit() is\n"
"deprecated. Parameter \'a\' will become positional-only in Python 3.14.\n"
"");

static int
depr_kwd_init_impl(PyObject *self, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprKwdInit.__init__'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprKwdInit.__init__'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprKwdInit.__init__'."
#  endif
#endif

static int
depr_kwd_init(PyObject *self, PyObject *args, PyObject *kwargs)
{}

static int
depr_kwd_init_noinline_impl(PyObject *self, PyObject *a, PyObject *b,
                            PyObject *c, const char *d, Py_ssize_t d_length);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'.")
#  else
#    warning "Update the clinic input of '_testclinic.DeprKwdInitNoInline.__init__'."
#  endif
#endif

static int
depr_kwd_init_noinline(PyObject *self, PyObject *args, PyObject *kwargs)
{}

PyDoc_STRVAR(depr_star_pos0_len1__doc__,
"depr_star_pos0_len1($module, /, a)\n"
"--\n"
"\n"
"Note: Passing positional arguments to depr_star_pos0_len1() is\n"
"deprecated. Parameter \'a\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

#define DEPR_STAR_POS0_LEN1_METHODDEF

static PyObject *
depr_star_pos0_len1_impl(PyObject *module, PyObject *a);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos0_len1'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos0_len1'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos0_len1'."
#  endif
#endif

static PyObject *
depr_star_pos0_len1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos0_len2__doc__,
"depr_star_pos0_len2($module, /, a, b)\n"
"--\n"
"\n"
"Note: Passing positional arguments to depr_star_pos0_len2() is\n"
"deprecated. Parameters \'a\' and \'b\' will become keyword-only parameters\n"
"in Python 3.14.\n"
"");

#define DEPR_STAR_POS0_LEN2_METHODDEF

static PyObject *
depr_star_pos0_len2_impl(PyObject *module, PyObject *a, PyObject *b);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos0_len2'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos0_len2'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos0_len2'."
#  endif
#endif

static PyObject *
depr_star_pos0_len2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos0_len3_with_kwd__doc__,
"depr_star_pos0_len3_with_kwd($module, /, a, b, c, *, d)\n"
"--\n"
"\n"
"Note: Passing positional arguments to depr_star_pos0_len3_with_kwd()\n"
"is deprecated. Parameters \'a\', \'b\' and \'c\' will become keyword-only\n"
"parameters in Python 3.14.\n"
"");

#define DEPR_STAR_POS0_LEN3_WITH_KWD_METHODDEF

static PyObject *
depr_star_pos0_len3_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
                                  PyObject *c, PyObject *d);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos0_len3_with_kwd'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos0_len3_with_kwd'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos0_len3_with_kwd'."
#  endif
#endif

static PyObject *
depr_star_pos0_len3_with_kwd(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos1_len1_opt__doc__,
"depr_star_pos1_len1_opt($module, /, a, b=None)\n"
"--\n"
"\n"
"Note: Passing 2 positional arguments to depr_star_pos1_len1_opt() is\n"
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

#define DEPR_STAR_POS1_LEN1_OPT_METHODDEF

static PyObject *
depr_star_pos1_len1_opt_impl(PyObject *module, PyObject *a, PyObject *b);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos1_len1_opt'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos1_len1_opt'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos1_len1_opt'."
#  endif
#endif

static PyObject *
depr_star_pos1_len1_opt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos1_len1__doc__,
"depr_star_pos1_len1($module, /, a, b)\n"
"--\n"
"\n"
"Note: Passing 2 positional arguments to depr_star_pos1_len1() is\n"
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

#define DEPR_STAR_POS1_LEN1_METHODDEF

static PyObject *
depr_star_pos1_len1_impl(PyObject *module, PyObject *a, PyObject *b);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos1_len1'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos1_len1'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos1_len1'."
#  endif
#endif

static PyObject *
depr_star_pos1_len1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos1_len2_with_kwd__doc__,
"depr_star_pos1_len2_with_kwd($module, /, a, b, c, *, d)\n"
"--\n"
"\n"
"Note: Passing more than 1 positional argument to\n"
"depr_star_pos1_len2_with_kwd() is deprecated. Parameters \'b\' and \'c\'\n"
"will become keyword-only parameters in Python 3.14.\n"
"");

#define DEPR_STAR_POS1_LEN2_WITH_KWD_METHODDEF

static PyObject *
depr_star_pos1_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
                                  PyObject *c, PyObject *d);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos1_len2_with_kwd'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos1_len2_with_kwd'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos1_len2_with_kwd'."
#  endif
#endif

static PyObject *
depr_star_pos1_len2_with_kwd(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos2_len1__doc__,
"depr_star_pos2_len1($module, /, a, b, c)\n"
"--\n"
"\n"
"Note: Passing 3 positional arguments to depr_star_pos2_len1() is\n"
"deprecated. Parameter \'c\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

#define DEPR_STAR_POS2_LEN1_METHODDEF

static PyObject *
depr_star_pos2_len1_impl(PyObject *module, PyObject *a, PyObject *b,
                         PyObject *c);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos2_len1'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos2_len1'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos2_len1'."
#  endif
#endif

static PyObject *
depr_star_pos2_len1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos2_len2__doc__,
"depr_star_pos2_len2($module, /, a, b, c, d)\n"
"--\n"
"\n"
"Note: Passing more than 2 positional arguments to\n"
"depr_star_pos2_len2() is deprecated. Parameters \'c\' and \'d\' will\n"
"become keyword-only parameters in Python 3.14.\n"
"");

#define DEPR_STAR_POS2_LEN2_METHODDEF

static PyObject *
depr_star_pos2_len2_impl(PyObject *module, PyObject *a, PyObject *b,
                         PyObject *c, PyObject *d);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos2_len2'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos2_len2'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos2_len2'."
#  endif
#endif

static PyObject *
depr_star_pos2_len2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_pos2_len2_with_kwd__doc__,
"depr_star_pos2_len2_with_kwd($module, /, a, b, c, d, *, e)\n"
"--\n"
"\n"
"Note: Passing more than 2 positional arguments to\n"
"depr_star_pos2_len2_with_kwd() is deprecated. Parameters \'c\' and \'d\'\n"
"will become keyword-only parameters in Python 3.14.\n"
"");

#define DEPR_STAR_POS2_LEN2_WITH_KWD_METHODDEF

static PyObject *
depr_star_pos2_len2_with_kwd_impl(PyObject *module, PyObject *a, PyObject *b,
                                  PyObject *c, PyObject *d, PyObject *e);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_pos2_len2_with_kwd'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_pos2_len2_with_kwd'.")
#  else
#    warning "Update the clinic input of 'depr_star_pos2_len2_with_kwd'."
#  endif
#endif

static PyObject *
depr_star_pos2_len2_with_kwd(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_noinline__doc__,
"depr_star_noinline($module, /, a, b, c=None, *, d=\'\')\n"
"--\n"
"\n"
"Note: Passing more than 1 positional argument to depr_star_noinline()\n"
"is deprecated. Parameters \'b\' and \'c\' will become keyword-only\n"
"parameters in Python 3.14.\n"
"");

#define DEPR_STAR_NOINLINE_METHODDEF

static PyObject *
depr_star_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
                        PyObject *c, const char *d, Py_ssize_t d_length);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_noinline'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_noinline'.")
#  else
#    warning "Update the clinic input of 'depr_star_noinline'."
#  endif
#endif

static PyObject *
depr_star_noinline(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_star_multi__doc__,
"depr_star_multi($module, /, a, b, c, d, e, f, g, *, h)\n"
"--\n"
"\n"
"Note: Passing more than 1 positional argument to depr_star_multi() is\n"
"deprecated. Parameter \'b\' will become a keyword-only parameter in\n"
"Python 3.16. Parameters \'c\' and \'d\' will become keyword-only\n"
"parameters in Python 3.15. Parameters \'e\', \'f\' and \'g\' will become\n"
"keyword-only parameters in Python 3.14.\n"
"");

#define DEPR_STAR_MULTI_METHODDEF

static PyObject *
depr_star_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
                     PyObject *d, PyObject *e, PyObject *f, PyObject *g,
                     PyObject *h);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_star_multi'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_star_multi'.")
#  else
#    warning "Update the clinic input of 'depr_star_multi'."
#  endif
#endif

static PyObject *
depr_star_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_required_1__doc__,
"depr_kwd_required_1($module, a, /, b)\n"
"--\n"
"\n"
"Note: Passing keyword argument \'b\' to depr_kwd_required_1() is\n"
"deprecated. Parameter \'b\' will become positional-only in Python 3.14.\n"
"");

#define DEPR_KWD_REQUIRED_1_METHODDEF

static PyObject *
depr_kwd_required_1_impl(PyObject *module, PyObject *a, PyObject *b);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_required_1'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_required_1'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_required_1'."
#  endif
#endif

static PyObject *
depr_kwd_required_1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_required_2__doc__,
"depr_kwd_required_2($module, a, /, b, c)\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_required_2()\n"
"is deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
"Python 3.14.\n"
"");

#define DEPR_KWD_REQUIRED_2_METHODDEF

static PyObject *
depr_kwd_required_2_impl(PyObject *module, PyObject *a, PyObject *b,
                         PyObject *c);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_required_2'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_required_2'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_required_2'."
#  endif
#endif

static PyObject *
depr_kwd_required_2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_optional_1__doc__,
"depr_kwd_optional_1($module, a, /, b=None)\n"
"--\n"
"\n"
"Note: Passing keyword argument \'b\' to depr_kwd_optional_1() is\n"
"deprecated. Parameter \'b\' will become positional-only in Python 3.14.\n"
"");

#define DEPR_KWD_OPTIONAL_1_METHODDEF

static PyObject *
depr_kwd_optional_1_impl(PyObject *module, PyObject *a, PyObject *b);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_optional_1'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_optional_1'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_optional_1'."
#  endif
#endif

static PyObject *
depr_kwd_optional_1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_optional_2__doc__,
"depr_kwd_optional_2($module, a, /, b=None, c=None)\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_optional_2()\n"
"is deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
"Python 3.14.\n"
"");

#define DEPR_KWD_OPTIONAL_2_METHODDEF

static PyObject *
depr_kwd_optional_2_impl(PyObject *module, PyObject *a, PyObject *b,
                         PyObject *c);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_optional_2'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_optional_2'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_optional_2'."
#  endif
#endif

static PyObject *
depr_kwd_optional_2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_optional_3__doc__,
"depr_kwd_optional_3($module, /, a=None, b=None, c=None)\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'a\', \'b\' and \'c\' to\n"
"depr_kwd_optional_3() is deprecated. Parameters \'a\', \'b\' and \'c\' will\n"
"become positional-only in Python 3.14.\n"
"");

#define DEPR_KWD_OPTIONAL_3_METHODDEF

static PyObject *
depr_kwd_optional_3_impl(PyObject *module, PyObject *a, PyObject *b,
                         PyObject *c);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_optional_3'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_optional_3'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_optional_3'."
#  endif
#endif

static PyObject *
depr_kwd_optional_3(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_required_optional__doc__,
"depr_kwd_required_optional($module, a, /, b, c=None)\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'b\' and \'c\' to\n"
"depr_kwd_required_optional() is deprecated. Parameters \'b\' and \'c\'\n"
"will become positional-only in Python 3.14.\n"
"");

#define DEPR_KWD_REQUIRED_OPTIONAL_METHODDEF

static PyObject *
depr_kwd_required_optional_impl(PyObject *module, PyObject *a, PyObject *b,
                                PyObject *c);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_required_optional'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_required_optional'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_required_optional'."
#  endif
#endif

static PyObject *
depr_kwd_required_optional(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_noinline__doc__,
"depr_kwd_noinline($module, a, /, b, c=None, d=\'\')\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'b\' and \'c\' to depr_kwd_noinline() is\n"
"deprecated. Parameters \'b\' and \'c\' will become positional-only in\n"
"Python 3.14.\n"
"");

#define DEPR_KWD_NOINLINE_METHODDEF

static PyObject *
depr_kwd_noinline_impl(PyObject *module, PyObject *a, PyObject *b,
                       PyObject *c, const char *d, Py_ssize_t d_length);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_noinline'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_noinline'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_noinline'."
#  endif
#endif

static PyObject *
depr_kwd_noinline(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_kwd_multi__doc__,
"depr_kwd_multi($module, a, /, b, c, d, e, f, g, h)\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'b\', \'c\', \'d\', \'e\', \'f\' and \'g\' to\n"
"depr_kwd_multi() is deprecated. Parameter \'b\' will become positional-\n"
"only in Python 3.14. Parameters \'c\' and \'d\' will become positional-\n"
"only in Python 3.15. Parameters \'e\', \'f\' and \'g\' will become\n"
"positional-only in Python 3.16.\n"
"");

#define DEPR_KWD_MULTI_METHODDEF

static PyObject *
depr_kwd_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
                    PyObject *d, PyObject *e, PyObject *f, PyObject *g,
                    PyObject *h);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_kwd_multi'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_kwd_multi'.")
#  else
#    warning "Update the clinic input of 'depr_kwd_multi'."
#  endif
#endif

static PyObject *
depr_kwd_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}

PyDoc_STRVAR(depr_multi__doc__,
"depr_multi($module, a, /, b, c, d, e, f, *, g)\n"
"--\n"
"\n"
"Note: Passing keyword arguments \'b\' and \'c\' to depr_multi() is\n"
"deprecated. Parameter \'b\' will become positional-only in Python 3.14.\n"
"Parameter \'c\' will become positional-only in Python 3.15.\n"
"\n"
"\n"
"Note: Passing more than 4 positional arguments to depr_multi() is\n"
"deprecated. Parameter \'e\' will become a keyword-only parameter in\n"
"Python 3.15. Parameter \'f\' will become a keyword-only parameter in\n"
"Python 3.14.\n"
"");

#define DEPR_MULTI_METHODDEF

static PyObject *
depr_multi_impl(PyObject *module, PyObject *a, PyObject *b, PyObject *c,
                PyObject *d, PyObject *e, PyObject *f, PyObject *g);

// Emit compiler warnings when we get to Python 3.14.
#if PY_VERSION_HEX >= 0x030e00C0
#  error "Update the clinic input of 'depr_multi'."
#elif PY_VERSION_HEX >= 0x030e00A0
#  ifdef _MSC_VER
#    pragma message ("Update the clinic input of 'depr_multi'.")
#  else
#    warning "Update the clinic input of 'depr_multi'."
#  endif
#endif

static PyObject *
depr_multi(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{}
/*[clinic end generated code: output=836affc1a13d67a1 input=a9049054013a1b77]*/