Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d1b7ea

Browse files
committed
Fix typo in attribute name (chunk_size should be chunksize) found by
Neil Norwitz's PyChecker.
1 parent ab0648f commit 0d1b7ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/chunk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def seek(self, pos, whence = 0):
106106
if whence == 1:
107107
pos = pos + self.size_read
108108
elif whence == 2:
109-
pos = pos + self.chunk_size
109+
pos = pos + self.chunksize
110110
if pos < 0 or pos > self.chunksize:
111111
raise RuntimeError
112112
self.file.seek(self.offset + pos, 0)

0 commit comments

Comments
 (0)