mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540)
It has not returned the file position after the seek.
This commit is contained in:
parent
bf1a81258c
commit
485e715cb1
3 changed files with 6 additions and 3 deletions
|
|
@ -738,7 +738,7 @@ class SpooledTemporaryFile:
|
|||
return self._file.readlines(*args)
|
||||
|
||||
def seek(self, *args):
|
||||
self._file.seek(*args)
|
||||
return self._file.seek(*args)
|
||||
|
||||
def tell(self):
|
||||
return self._file.tell()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue