mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Stupid typo.
This commit is contained in:
parent
595821f6fd
commit
a79df8d841
@ -229,7 +229,7 @@ class MaxLengthQueue(queue):
|
|||||||
|
|
||||||
def __setstate__(self, (length, q)):
|
def __setstate__(self, (length, q)):
|
||||||
self.length = length
|
self.length = length
|
||||||
queue.__getstate__(self, q)
|
queue.__setstate__(self, q)
|
||||||
|
|
||||||
def enqueue(self, elt):
|
def enqueue(self, elt):
|
||||||
if len(self) > self.length:
|
if len(self) > self.length:
|
||||||
|
Loading…
Reference in New Issue
Block a user