aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/support
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/support')
-rw-r--r--sources/pyside6/PySide6/support/__init__.py2
-rw-r--r--sources/pyside6/PySide6/support/generate_pyi.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/support/__init__.py b/sources/pyside6/PySide6/support/__init__.py
index 996acb05a..7d8c808aa 100644
--- a/sources/pyside6/PySide6/support/__init__.py
+++ b/sources/pyside6/PySide6/support/__init__.py
@@ -37,6 +37,6 @@
##
#############################################################################
-from shiboken6 import VoidPtr
+from shiboken6.Shiboken import VoidPtr
#eof
diff --git a/sources/pyside6/PySide6/support/generate_pyi.py b/sources/pyside6/PySide6/support/generate_pyi.py
index 32f43d804..8abab35f0 100644
--- a/sources/pyside6/PySide6/support/generate_pyi.py
+++ b/sources/pyside6/PySide6/support/generate_pyi.py
@@ -145,7 +145,7 @@ class Formatter(Writer):
self.print()
self.print("class Object(object): pass")
self.print()
- self.print("import shiboken6 as Shiboken")
+ self.print("from shiboken6 import Shiboken")
self.print("Shiboken.Object = Object")
self.print()
# This line will be replaced by the missing imports postprocess.