I want to have a look at the source code from PyQt5.QtWidgets but end up seeing the code below:
class QPushButton(QAbstractButton):
"""
QPushButton(parent: QWidget = None)
QPushButton(str, parent: QWidget = None)
QPushButton(QIcon, str, parent: QWidget = None)
"""
def actionEvent(self, *args, **kwargs): # real signature unknown
pass
def autoDefault(self): # real signature unknown; restored from __doc__
""" autoDefault(self) -> bool """
return False
def changeEvent(self, *args, **kwargs): # real signature unknown
pass
There are only some annotations and methods with only 'pass' and 'return', can anybody please explain how they work? Where are the other codes?