Skip to content

Commit 45ea373

Browse files
tomchristiepgjones
authored andcommitted
Use __slots__ on Headers. Because why not?
1 parent 1e791e2 commit 45ea373

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

h11/_headers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class Headers:
8686
(b"Connection", b"keep-alive")
8787
]
8888
"""
89+
__slots__ = '_full_items'
8990

9091
def __init__(self, full_items):
9192
self._full_items = full_items

0 commit comments

Comments
 (0)