Kaydet (Commit) 0d1b7ea3 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix typo in attribute name (chunk_size should be chunksize) found by

Neil Norwitz's PyChecker.
üst ab0648ff
...@@ -106,7 +106,7 @@ class Chunk: ...@@ -106,7 +106,7 @@ class Chunk:
if whence == 1: if whence == 1:
pos = pos + self.size_read pos = pos + self.size_read
elif whence == 2: elif whence == 2:
pos = pos + self.chunk_size pos = pos + self.chunksize
if pos < 0 or pos > self.chunksize: if pos < 0 or pos > self.chunksize:
raise RuntimeError raise RuntimeError
self.file.seek(self.offset + pos, 0) self.file.seek(self.offset + pos, 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment