aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/support/signature/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/PySide2/support/signature/parser.py')
-rw-r--r--sources/pyside2/PySide2/support/signature/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/support/signature/parser.py b/sources/pyside2/PySide2/support/signature/parser.py
index 0b81dba54..c55973632 100644
--- a/sources/pyside2/PySide2/support/signature/parser.py
+++ b/sources/pyside2/PySide2/support/signature/parser.py
@@ -126,7 +126,7 @@ def make_good_value(thing, valtype):
if valtype and repr(ret).startswith("<"):
thing = 'Instance("{}")'.format(thing)
return eval(thing, namespace)
- except (SyntaxError, TypeError, NameError):
+ except Exception:
pass
def try_to_guess(thing, valtype):