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

typing: QLineEdit.setText() accepts None

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.9.1, 6.10.0
    • None
    • Type hints
    • None
    • a6736dd2e (dev), 3cf72203b (6.9)

      QLineEdit.setText() accepts None as an equivalent to empty string.Not sure that you may want to fix that one, But in practice, QLineEdit.setText() accepts None, probably because it accepts a "char *" string. And some people actually use this facility, and even report bugs on PySide6-stubs to have it included...
       

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

            ctismer Christian Tismer
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes