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

This commit is contained in:
Fredrik Lundh 2001-02-18 11:41:49 +00:00
parent 3389f1999a
commit ae7636753e
1 changed files with 1 additions and 1 deletions

View File

@ -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;