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

Neil Norwitz's PyChecker.
This commit is contained in:
Guido van Rossum 2001-04-15 12:40:13 +00:00
parent ab0648ffc0
commit 0d1b7ea365
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class Chunk:
if whence == 1:
pos = pos + self.size_read
elif whence == 2:
pos = pos + self.chunk_size
pos = pos + self.chunksize
if pos < 0 or pos > self.chunksize:
raise RuntimeError
self.file.seek(self.offset + pos, 0)