Skip to content

Commit

Permalink
type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
jeenyuhs committed Jul 2, 2024
1 parent fa5b3f5 commit b1827ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packets/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, packet_data: bytes):
self.offset = 0
self.packet, self.plen = None, 0

def __iter__(self) -> Iterator:
def __iter__(self) -> Iterator[Packet]:
return self

def __next__(self) -> Packet:
Expand Down

0 comments on commit b1827ef

Please sign in to comment.