summaryrefslogtreecommitdiffstats
path: root/Lib/gzip.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-09 21:40:30 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-09 21:40:30 (GMT)
commitab9ba27dc066adc6423ea137b9481cf524d10ffd (patch)
treec49709063ec8de0eae358ef462e9fe5faa0c44a0 /Lib/gzip.py
parentc7ca3ffba3d41f24f6f66d40391a044f199785ac (diff)
downloadcpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.zip
cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.gz
cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/gzip.py')
-rw-r--r--Lib/gzip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/gzip.py b/Lib/gzip.py
index 9df8e5d..1985044 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -277,7 +277,7 @@ class GzipFile:
def rewind(self):
'''Return the uncompressed stream file position indicator to the
- beginning of the file'''
+ beginning of the file'''
if self.mode != READ:
raise IOError("Can't rewind in write mode")
self.fileobj.seek(0)
@@ -291,7 +291,7 @@ class GzipFile:
if offset < self.offset:
raise IOError('Negative seek in write mode')
count = offset - self.offset
- for i in range(count/1024):
+ for i in range(count/1024):
f.write(1024*'\0')
self.write((count%1024)*'\0')
elif self.mode == READ: