Commit 7c970133 authored by Fredrik Lundh's avatar Fredrik Lundh

stupid typo (for some reason, this only caused problems on OpenVMS).

parent 9a0ec75d
......@@ -368,7 +368,7 @@ getcode(const char* name, int namelen, Py_UCS4* code)
i = (i + incr) & mask;
v = code_hash[i];
if (!v)
return -1;
return 0;
if (cmpname(v, name, namelen)) {
*code = v;
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment