summaryrefslogtreecommitdiff
path: root/python/bncompleter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/bncompleter.py')
-rw-r--r--python/bncompleter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/bncompleter.py b/python/bncompleter.py
index ed32907c..66bf1763 100644
--- a/python/bncompleter.py
+++ b/python/bncompleter.py
@@ -62,7 +62,7 @@ def fuzzy_match(target, query):
def fnsignature(obj):
try:
sig = str(inspect.signature(obj))
- except:
+ except Exception:
sig = "()"
return sig