Skip to content

Commit f0b5880

Browse files
committed
fix: add slots
1 parent 83ae984 commit f0b5880

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/typed_diskcache/utils/deque.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def main() -> None:
6868
# [3, 2, 1, 0, 0, -1, -2, -3]
6969
"""
7070

71+
__slots__ = ("_cache", "_maxlen")
72+
7173
def __init__(
7274
self,
7375
values: Iterable[_T] | None = None,

0 commit comments

Comments
 (0)