diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-04-15 11:21:40 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-04-15 11:21:44 -0400 |
| commit | b4ccb82ea76b98457d9dc59424632ca412511ed4 (patch) | |
| tree | 2eb4d7875181cee7b05413fa6dcdaea3a1d95981 /python/bncompleter.py | |
| parent | c08cf3f1eaa73a5171c27044100479998104d58a (diff) | |
[Python API] Replace bare "except:" with "except Exception:" to fix signal propagation
Diffstat (limited to 'python/bncompleter.py')
| -rw-r--r-- | python/bncompleter.py | 2 |
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 |
