Closed
Description
There are a couple issues with the QMessageBox.StandardButtons
constructor annotations.
Firstly, the second and third annotations are redundant; other than the args names, which I presume are both auto-generated and inaccurate. Neither are valid kwargs.
Secondly, it can also be constructed using int
objects. As QMessageBox.StandardButton
extends int
, this annotation should just be replaced with using int
objects.
>>> QtWidgets.QMessageBox.StandardButtons(0)
<PyQt5.QtWidgets.QMessageBox.StandardButtons object at 0x7f56c949dd60>