diff options
author | Guido van Rossum <guido@python.org> | 2001-04-15 12:40:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-04-15 12:40:13 (GMT) |
commit | 0d1b7ea365c2e299a1de4df1243927ffdfcd74d7 (patch) | |
tree | 86b37a18aa93f2673567cc40078a1553604764b5 /Lib | |
parent | ab0648ffc0657aa11e5a83d76cd5e538f34e0318 (diff) | |
download | cpython-0d1b7ea365c2e299a1de4df1243927ffdfcd74d7.zip cpython-0d1b7ea365c2e299a1de4df1243927ffdfcd74d7.tar.gz cpython-0d1b7ea365c2e299a1de4df1243927ffdfcd74d7.tar.bz2 |
Fix typo in attribute name (chunk_size should be chunksize) found by
Neil Norwitz's PyChecker.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/chunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/chunk.py b/Lib/chunk.py index 0a93cd3..8116256 100644 --- a/Lib/chunk.py +++ b/Lib/chunk.py @@ -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) |