Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f226fc

Browse files
committed
Remove unneeded annotation on __slots__ variable
The correct type is inferred, and no other __slots__ variable inthe codebase has an annotation.
1 parentb2c3d8b commit9f226fc

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)

[8]ページ先頭

©2009-2025 Movatter.jp