finish fixing the rlcompleter regression (thanks for noticing Antonine Pitrou)
diff --git a/Lib/rlcompleter.py b/Lib/rlcompleter.py
index a3c331b..db63aeb 100644
--- a/Lib/rlcompleter.py
+++ b/Lib/rlcompleter.py
@@ -87,7 +87,7 @@
             return None
 
     def _callable_postfix(self, val, word):
-        if callable(val):
+        if hasattr(val, '__call__'):
             word = word + "("
         return word