Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2566

Respect "None" in type stubs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • None
    • Type hints
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ctismer Christian Tismer
              monotype Pavlo Popov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes