diff -r 15a6be05e970 Modules/posixmodule.c --- a/Modules/posixmodule.c Tue Feb 11 11:54:08 2014 +0100 +++ b/Modules/posixmodule.c Tue Feb 11 13:11:43 2014 +0000 @@ -7764,7 +7764,7 @@ Close a file descriptor (for low level IO)."); static PyObject * -posix_close(PyObject *self, PyObject *args) +py_posix_close(PyObject *self, PyObject *args) { int fd, res; if (!PyArg_ParseTuple(args, "i:close", &fd)) @@ -11422,7 +11422,7 @@ {"open", (PyCFunction)posix_open,\ METH_VARARGS | METH_KEYWORDS, posix_open__doc__}, - {"close", posix_close, METH_VARARGS, posix_close__doc__}, + {"close", py_posix_close, METH_VARARGS, posix_close__doc__}, {"closerange", posix_closerange, METH_VARARGS, posix_closerange__doc__}, {"device_encoding", device_encoding, METH_VARARGS, device_encoding__doc__}, {"dup", posix_dup, METH_VARARGS, posix_dup__doc__},