From: Georg Brandl Date: Thu, 29 Nov 2007 18:33:04 +0000 (+0000) Subject: Spaces vs. Tabs. X-Git-Tag: v2.5.2c1~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5463ab7de21ed6f9252a655156fbc6f48909bd5;p=python Spaces vs. Tabs. (backport from rev. 59224) --- diff --git a/Objects/dictobject.c b/Objects/dictobject.c index a315446301..412d5f2e31 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -272,9 +272,9 @@ lookdict(dictobject *mp, PyObject *key, register long hash) else { if (ep->me_hash == hash) { startkey = ep->me_key; - Py_INCREF(startkey); + Py_INCREF(startkey); cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); - Py_DECREF(startkey); + Py_DECREF(startkey); if (cmp < 0) return NULL; if (ep0 == mp->ma_table && ep->me_key == startkey) { @@ -304,9 +304,9 @@ lookdict(dictobject *mp, PyObject *key, register long hash) return ep; if (ep->me_hash == hash && ep->me_key != dummy) { startkey = ep->me_key; - Py_INCREF(startkey); + Py_INCREF(startkey); cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); - Py_DECREF(startkey); + Py_DECREF(startkey); if (cmp < 0) return NULL; if (ep0 == mp->ma_table && ep->me_key == startkey) {