Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
None
-
None
Description
Since version 6.5.2 PyQt6 has updated type stubs and now they respect None. For example, standard events can be None or style(), self.centralWidget().layout(), etc. may be None. But in the latest versions of PySide6 there is no such thing, is it planned to add it and is it correct to take into account None at all? Maybe PySide should add this too?
Attachments
Issue Links
- duplicates
-
PYSIDE-2440 Type hints should indicate optionality
- Closed