diff options
Diffstat (limited to 'sources/pyside2')
| -rw-r--r-- | sources/pyside2/PySide2/__init__.py.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/__init__.py.in b/sources/pyside2/PySide2/__init__.py.in index 94683b463..035cdd636 100644 --- a/sources/pyside2/PySide2/__init__.py.in +++ b/sources/pyside2/PySide2/__init__.py.in @@ -65,7 +65,8 @@ def _setupQtDirectories(): # Trigger signature initialization. try: # PYSIDE-829: Avoid non-existent attributes in compiled code (Nuitka). - eval("type.__signature__") + # We now use an explicit function instead of touching a signature. + _init_pyside_extension() except AttributeError: print(dedent('''\ {stars} |
