summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-09-29 13:42:45 +0000
committerGeorg Brandl <georg@python.org>2005-09-29 13:42:45 +0000
commite3a1c63c8993e6198a26f8e0f13aedc0d4c2e1c4 (patch)
tree106cbbd8dd858df28d7f0224bdd1c3caf73dc9f5 /Modules
parent35425f10ef6a27e75b481428fe60e5bf48ab6ab7 (diff)
downloadcpython-git-e3a1c63c8993e6198a26f8e0f13aedc0d4c2e1c4.tar.gz
backport: fix parse errors in readline
Diffstat (limited to 'Modules')
-rw-r--r--Modules/readline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 74948136a2..43ac628130 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -605,6 +605,7 @@ on_hook(PyObject *func)
#ifdef WITH_THREAD
PyGILState_Release(gilstate);
#endif
+ return result;
}
return result;
}
@@ -657,6 +658,7 @@ on_completion(char *text, int state)
#ifdef WITH_THREAD
PyGILState_Release(gilstate);
#endif
+ return result;
}
return result;
}