8000 minor edit, use += · python/cpython@afd92ab · GitHub
[go: up one dir, main page]

Skip to content

Commit afd92ab

Browse files
authored
minor edit, use +=
1 parent d0ff4f0 commit afd92ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/gzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def read(self, size=-1):
514514
"end-of-stream marker was reached")
515515

516516
self._crc = zlib.crc32(uncompress, self._crc)
517-
self._stream_size = self._stream_size + len(uncompress)
517+
self._stream_size += len(uncompress)
518518
self._pos += len(uncompress)
519519
return uncompress
520520

0 commit comments

Comments
 (0)
0