Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.8.1
-
None
-
c660766e3 (dev), ec4485f53 (6.8)
Description
This code runs fine, yet mypy reports missing parameters:
from PySide6.QtWidgets import QApplication, QMessageBox, QWidget QApplication() QMessageBox.warning(QWidget(), "", "")
bug.py:4: error: Missing positional arguments "button0", "button1" in call to "warning" of "QMessageBox" [call-arg]
bug.py:4: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-call-arg for more info
Found 1 error in 1 file (checked 1 source file)
Attachments
Issue Links
- relates to
-
PYSIDE-329 QMessageBox::StandardButton operator | causes hang
- Closed
-
QTBUG-92483 Mark obsolete QMessageBox members
- Closed