Skip to content

Commit

Permalink
Remove unneeded annotation on __slots__ variable
Browse files Browse the repository at this point in the history
The correct type is inferred, and no other __slots__ variable in
the codebase has an annotation.
  • Loading branch information
EliahKagan committed Mar 5, 2024
1 parent b2c3d8b commit 9f226fc
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 9f226fc

Please sign in to comment.