mirror of
https://github.com/python/cpython.git
synced 2025-11-11 22:55:08 +00:00
stupid typo (for some reason, this only caused problems on OpenVMS).
This commit is contained in:
parent
3389f1999a
commit
ae7636753e
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ getcode(const char* name, int namelen, Py_UCS4* code)
|
||||||
i = (i + incr) & mask;
|
i = (i + incr) & mask;
|
||||||
v = code_hash[i];
|
v = code_hash[i];
|
||||||
if (!v)
|
if (!v)
|
||||||
return -1;
|
return 0;
|
||||||
if (cmpname(v, name, namelen)) {
|
if (cmpname(v, name, namelen)) {
|
||||||
*code = v;
|
*code = v;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue