Skip to content

Commit

Permalink
Remove unneeded explicit type hint on __slots__ attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Mar 5, 2024
1 parent b2c3d8b commit f6f3c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ class CatFileContentStream:
rest to ensure the underlying stream continues to work.
"""

__slots__: Tuple[str, ...] = ("_stream", "_nbr", "_size")
__slots__ = ("_stream", "_nbr", "_size")

def __init__(self, size: int, stream: IO[bytes]) -> None:
self._stream = stream
Expand Down

0 comments on commit f6f3c4b

Please sign in to comment.