diff options
author | Georg Brandl <georg@python.org> | 2005-09-29 13:40:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-09-29 13:40:49 (GMT) |
commit | e677adc43acf9176ffe81b9956aeb7a643258239 (patch) | |
tree | 7e9a5e8378acd0488a47271708fafc9e1e6c477f /Modules/readline.c | |
parent | e53475ddd1a03d03dccec3fb79d84d277fba521c (diff) | |
download | cpython-e677adc43acf9176ffe81b9956aeb7a643258239.zip cpython-e677adc43acf9176ffe81b9956aeb7a643258239.tar.gz cpython-e677adc43acf9176ffe81b9956aeb7a643258239.tar.bz2 |
Fix parse errors in readline module when compiling without threads.
Diffstat (limited to 'Modules/readline.c')
-rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index 25a43b2..f039f1a 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -603,6 +603,7 @@ on_hook(PyObject *func) #ifdef WITH_THREAD PyGILState_Release(gilstate); #endif + return result; } return result; } @@ -655,6 +656,7 @@ on_completion(char *text, int state) #ifdef WITH_THREAD PyGILState_Release(gilstate); #endif + return result; } return result; } |