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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy