-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
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...
- relates to
-
PYSIDE-2440 Type hints should indicate optionality
-
- Closed
-
| For Gerrit Dashboard: PYSIDE-3041 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 630897,2 | type hints: Make str Optional in QLineEdit.setText | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
| 632837,2 | type hints: Make str Optional in QLineEdit.setText | 6.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |