From bd928fef428e48084ff29ece0e21d07ad86d0793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 14 Oct 2011 10:20:37 +0200 Subject: Rename _Py_identifier to _Py_IDENTIFIER. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/socketmodule.c') diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 2056b61a9b..3618df17c7 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -4820,7 +4820,7 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs) if (hobj == Py_None) { hptr = NULL; } else if (PyUnicode_Check(hobj)) { - _Py_identifier(encode); + _Py_IDENTIFIER(encode); idna = _PyObject_CallMethodId(hobj, &PyId_encode, "s", "idna"); if (!idna) -- cgit v1.2.1