mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Forgot stupid self.
This commit is contained in:
parent
79a1d351ad
commit
c19bae2b34
@ -220,7 +220,7 @@ class queue(dict):
|
|||||||
|
|
||||||
class MaxLengthQueue(queue):
|
class MaxLengthQueue(queue):
|
||||||
__slots__ = ('length',)
|
__slots__ = ('length',)
|
||||||
def __init__(length, *args):
|
def __init__(self, length, *args):
|
||||||
self.length = length
|
self.length = length
|
||||||
queue.__init__(self, *args)
|
queue.__init__(self, *args)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user