Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 72925:7109f31300fb
Rename _Py_identifier to _Py_IDENTIFIER.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 14 Oct 2011 10:20:37 +0200 |
| parents | 41a1de81ef2b |
| children | 6159311f0f44 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Oct 14 12:53:10 2011 +0200 +++ b/Modules/socketmodule.c Fri Oct 14 10:20:37 2011 +0200 @@ -4820,7 +4820,7 @@ 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)
