Consume remaining keyword arguments in Game constructor.
This commit is contained in:
parent
9a0e9b0494
commit
1c60f9ccf4
@ -57,7 +57,7 @@ class Game:
|
|||||||
|
|
||||||
__slots__ = ('name', 'type', 'url')
|
__slots__ = ('name', 'type', 'url')
|
||||||
|
|
||||||
def __init__(self, *, name, url=None, type=0):
|
def __init__(self, *, name, url=None, type=0, **kwargs):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.url = url
|
self.url = url
|
||||||
self.type = type
|
self.type = type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user