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