diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-10-14 08:20:37 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-10-14 08:20:37 (GMT) |
commit | bd928fef428e48084ff29ece0e21d07ad86d0793 (patch) | |
tree | 0fd61d271dabb554cc4824e7e80b4c6d915f6ae2 /Objects/weakrefobject.c | |
parent | 01277d166a993742814c772d01987fbaafb528d4 (diff) | |
download | cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.zip cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.gz cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.bz2 |
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Objects/weakrefobject.c')
-rw-r--r-- | Objects/weakrefobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c index 374e720..e07adb2 100644 --- a/Objects/weakrefobject.c +++ b/Objects/weakrefobject.c @@ -157,7 +157,7 @@ static PyObject * weakref_repr(PyWeakReference *self) { PyObject *name, *repr; - _Py_identifier(__name__); + _Py_IDENTIFIER(__name__); if (PyWeakref_GET_OBJECT(self) == Py_None) return PyUnicode_FromFormat("<weakref at %p; dead>", self); @@ -441,7 +441,7 @@ proxy_checkref(PyWeakReference *proxy) #define WRAP_METHOD(method, special) \ static PyObject * \ method(PyObject *proxy) { \ - _Py_identifier(special); \ + _Py_IDENTIFIER(special); \ UNWRAP(proxy); \ return _PyObject_CallMethodId(proxy, &PyId_##special, ""); \ } |