summaryrefslogtreecommitdiff
path: root/Lib/chunk.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-15 12:40:13 +0000
committerGuido van Rossum <guido@python.org>2001-04-15 12:40:13 +0000
commit0d1b7ea365c2e299a1de4df1243927ffdfcd74d7 (patch)
tree86b37a18aa93f2673567cc40078a1553604764b5 /Lib/chunk.py
parentab0648ffc0657aa11e5a83d76cd5e538f34e0318 (diff)
downloadcpython-git-0d1b7ea365c2e299a1de4df1243927ffdfcd74d7.tar.gz
Fix typo in attribute name (chunk_size should be chunksize) found by
Neil Norwitz's PyChecker.
Diffstat (limited to 'Lib/chunk.py')
-rw-r--r--Lib/chunk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/chunk.py b/Lib/chunk.py
index 0a93cd3137..8116256c15 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)