Skip to content

Commit 9f226fc

Browse files
committed
Remove unneeded annotation on __slots__ variable
The correct type is inferred, and no other __slots__ variable in the codebase has an annotation.
1 parent b2c3d8b commit 9f226fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/cmd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ class CatFileContentStream:
749749
rest to ensure the underlying stream continues to work.
750750
"""
751751

752-
__slots__: Tuple[str, ...] = ("_stream", "_nbr", "_size")
752+
__slots__ = ("_stream", "_nbr", "_size")
753753

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

0 commit comments

Comments
 (0)