cpython: Minor tweak to improve code clarity.

https://hg.python.org/cpython/rev/f726b27bda8d changeset: 94404:f726b27bda8d user: Raymond Hettinger <python@rcn.com> date: Fri Jan 30 20:09:23 2015 -0800 summary: Minor tweak to improve code clarity. files: Objects/setobject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Objects/setobject.c b/Objects/setobject.c --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -150,7 +150,7 @@ goto found_null; if (i + LINEAR_PROBES <= mask) { for (j = 1; j <= LINEAR_PROBES; j++) { - entry = &table[i + j]; + entry++; if (entry->key == NULL) goto found_null; } -- Repository URL: https://hg.python.org/cpython
participants (1)
-
raymond.hettinger