/*[clinic]
module spam
spam.ham

    items: object(type='PyList_Type')
    /

[clinic]*/

PyDoc_STRVAR(spam_ham__doc__,
"ham(items)");

#define SPAM_HAM_METHODDEF    \
    {"ham", (PyCFunction)spam_ham, METH_VARARGS, spam_ham__doc__},

static PyObject *
spam_ham_impl(PyModuleDef *module, PyObject *items);

static PyObject *
spam_ham(PyModuleDef *module, PyObject *args)
{
    PyObject *return_value = NULL;
    PyObject *items;

    if (!PyArg_ParseTuple(args,
        "O!:ham",
        PyList_Type, &items))
        goto exit;
    return_value = spam_ham_impl(module, items);

exit:
    return return_value;
}

static PyObject *
spam_ham_impl(PyModuleDef *module, PyObject *items)
/*[clinic checksum: 3ef1df3cb3263cd7e940dd17656a443786743254]*/
