summaryrefslogtreecommitdiffstats
path: root/Objects/enumobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/enumobject.c')
-rw-r--r--Objects/enumobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/enumobject.c b/Objects/enumobject.c
index 828f1f9..d84bac6 100644
--- a/Objects/enumobject.c
+++ b/Objects/enumobject.c
@@ -356,9 +356,8 @@ reversed_new_impl(PyTypeObject *type, PyObject *seq)
Py_ssize_t n;
PyObject *reversed_meth;
reversedobject *ro;
- _Py_IDENTIFIER(__reversed__);
- reversed_meth = _PyObject_LookupSpecial(seq, &PyId___reversed__);
+ reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
if (reversed_meth == Py_None) {
Py_DECREF(reversed_meth);
PyErr_Format(PyExc_TypeError,