Closed kangz12345 closed 1 year ago
Currently, there are many QObjects we have implemented, and each of them has the parent attribute since it is the one of QObject.
QObject
parent
However, some of them do not have parent parameter at all (e.g., Bus), and the position of parent in the constructor is not consistent.
Bus
Therefore, I want to suggest that we put parent parameter at the last order, i.e., def __init__(self, ..., parent=None).
def __init__(self, ..., parent=None)
See also: #30
Currently, there are many
QObject
s we have implemented, and each of them has theparent
attribute since it is the one ofQObject
.However, some of them do not have
parent
parameter at all (e.g.,Bus
), and the position ofparent
in the constructor is not consistent.Therefore, I want to suggest that we put
parent
parameter at the last order, i.e.,def __init__(self, ..., parent=None)
.parent
parameter if there is not.parent
parameter to the last.See also: #30