Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comment for _write_raw
  • Loading branch information
CCLDArjun committed Feb 18, 2023
commit a929ac8deedeb61971260d894b18f76f035aa17e
1 change: 1 addition & 0 deletions Lib/gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def write(self,data):
return self._buffer.write(data)

def _write_raw(self, data):
Comment thread
CCLDArjun marked this conversation as resolved.
# Called by our self._buffer underlying WriteBufferStream.
if isinstance(data, (bytes, bytearray)):
length = len(data)
else:
Expand Down