diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-08 06:13:44 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-08 06:13:44 (GMT) |
commit | 0c6e2f16408efa2f8ca79e9679d5f78857fc66d2 (patch) | |
tree | b7a73a74e5d4c498e7a8d18a8a9144d543d7d939 /Objects/weakrefobject.c | |
parent | 76dc081dd9130de71893ca2d9bb8156f4c13a4d4 (diff) | |
download | cpython-0c6e2f16408efa2f8ca79e9679d5f78857fc66d2.zip cpython-0c6e2f16408efa2f8ca79e9679d5f78857fc66d2.tar.gz cpython-0c6e2f16408efa2f8ca79e9679d5f78857fc66d2.tar.bz2 |
Remove some shadowed variables
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 1de9434..fd99a63 100644 --- a/Objects/weakrefobject.c +++ b/Objects/weakrefobject.c @@ -920,8 +920,8 @@ PyObject_ClearWeakRefs(PyObject *object) PyObject *callback = PyTuple_GET_ITEM(tuple, i * 2 + 1); if (callback != NULL) { - PyObject *current = PyTuple_GET_ITEM(tuple, i * 2); - handle_callback((PyWeakReference *)current, callback); + PyObject *item = PyTuple_GET_ITEM(tuple, i * 2); + handle_callback((PyWeakReference *)item, callback); } } Py_DECREF(tuple); |