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
For Gerrit Dashboard: PYSIDE-2939 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609113,8 | type hints: Fix the heuristic for ambiguous signature removal | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
609528,2 | type hints: Fix the heuristic for ambiguous signature removal | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |