[Python-checkins] cpython: Remove deadcode (HASH macro is no more defined)

victor.stinner python-checkins at python.org
Fri Jan 3 17:42:29 CET 2014


http://hg.python.org/cpython/rev/14a2324e82e4
changeset:   88276:14a2324e82e4
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Jan 03 17:42:18 2014 +0100
summary:
  Remove deadcode (HASH macro is no more defined)

files:
  Objects/unicodeobject.c |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11370,7 +11370,6 @@
     _PyUnicode_HASH(self) = x;
     return x;
 }
-#undef HASH
 
 PyDoc_STRVAR(index__doc__,
              "S.index(sub[, start[, end]]) -> int\n\

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list