fixed position of *args
This commit is contained in:
@ -20,7 +20,7 @@ class MDIWindowMode(str, enum.Enum):
|
||||
|
||||
class MDIArea(QMdiArea):
|
||||
|
||||
def __init__(self, bar, window_mode=MDIWindowMode.MULTI, *args, **kwargs):
|
||||
def __init__(self, bar, *args, window_mode=MDIWindowMode.MULTI, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.logo = assets.logo()
|
||||
self.setTabsClosable(True)
|
||||
|
@ -4,7 +4,7 @@ from inspect import getdoc, signature
|
||||
|
||||
class RPCServer(xrs.DocXMLRPCServer):
|
||||
|
||||
def __init__(self, host, port, doc_title_suffix="", *args, **kwargs):
|
||||
def __init__(self, host, port, *args, doc_title_suffix="", **kwargs):
|
||||
addr = (host, port)
|
||||
kwargs.setdefault("allow_none", True)
|
||||
super().__init__(addr, *args, **kwargs)
|
||||
|
Reference in New Issue
Block a user