diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-08 13:58:10 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-08 13:58:10 (GMT) |
commit | b91d2f5bd366a34daf11a0306e7c1a018a51da20 (patch) | |
tree | 15344bf10b3d02ead599cb616878196dec18103e /Objects | |
parent | 0194f5bc98d3fb3e7b4aaed874edf2df3a33bfd3 (diff) | |
download | cpython-b91d2f5bd366a34daf11a0306e7c1a018a51da20.zip cpython-b91d2f5bd366a34daf11a0306e7c1a018a51da20.tar.gz cpython-b91d2f5bd366a34daf11a0306e7c1a018a51da20.tar.bz2 |
Remove redundant assignment in _PyObject_LengthHint
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index d601288..ee744de 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -123,7 +123,7 @@ _PyObject_LengthHint(PyObject *o, Py_ssize_t defaultvalue) PyErr_Clear(); return defaultvalue; } - rv = rv = PyLong_Check(ro) ? PyLong_AsSsize_t(ro) : defaultvalue; + rv = PyLong_Check(ro) ? PyLong_AsSsize_t(ro) : defaultvalue; Py_DECREF(ro); return rv; } |