bpo-39719: Remove softspace from tempfile.SpooledTemporaryFile (GH-18599)

This commit is contained in:
Shantanu 2020-03-17 14:43:20 -07:00 committed by GitHub
parent 6b97598fb6
commit d469d666b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -749,10 +749,6 @@ class SpooledTemporaryFile:
def seek(self, *args):
self._file.seek(*args)
@property
def softspace(self):
return self._file.softspace
def tell(self):
return self._file.tell()

View File

@ -0,0 +1 @@
Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` attribute in Python 3. Patch by Shantanu.