Skip to content

Instantly share code, notes, and snippets.

@mopemope
Created May 5, 2011 02:36
Show Gist options
  • Save mopemope/956435 to your computer and use it in GitHub Desktop.
Save mopemope/956435 to your computer and use it in GitHub Desktop.
bucho show
PyObject *
bucho_show(PyObject *self, PyObject *args)
{
return PyString_FromString("show");
}
static PyMethodDef BuchoMethods[] = {
{"show", bucho_show, METH_NOARGS, ""},
{NULL, NULL, 0, NULL} /* Sentinel */
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment