Third-party stubs: fix several fictitious type aliases (#7958)

This commit is contained in:
Alex Waygood
2022-05-26 06:26:26 -07:00
committed by GitHub
parent 597be79b18
commit fa636bc044
15 changed files with 69 additions and 73 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
from typing import Any
from typing_extensions import Literal
from typing_extensions import Literal, TypeAlias
from .Image import Image
QImage = Any # imported from either of {PyQt6,PySide6,PyQt5,PySide2}.QtGui
QPixmap = Any
QImage: TypeAlias = Any # imported from either of {PyQt6,PySide6,PyQt5,PySide2}.QtGui
QPixmap: TypeAlias = Any
qt_versions: Any
qt_is_installed: bool