Skip to content

Commit 6199102

Browse files
Update weakrefobject.c
1 parent 62d0c00 commit 6199102

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Objects/weakrefobject.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -628,11 +628,11 @@ _proxy_unwrap(PyObject **op, int *did_incref)
628628
#define WRAP_METHOD(method, SPECIAL) \
629629
static PyObject * \
630630
method(PyObject *proxy, PyObject *Py_UNUSED(ignored)) { \
631-
UNWRAP(proxy); \
632-
PyObject* res = PyObject_CallMethodNoArgs(proxy, &_Py_ID(SPECIAL)); \
633-
Py_DECREF(proxy); \
634-
return res; \
635-
}
631+
UNWRAP(proxy); \
632+
PyObject* res = PyObject_CallMethodNoArgs(proxy, &_Py_ID(SPECIAL)); \
633+
Py_DECREF(proxy); \
634+
return res; \
635+
}
636636

637637

638638
/* direct slots */

0 commit comments

Comments
 (0)