diff --git a/django/core/files/utils.py b/django/core/files/utils.py index 96bfbe46c2..de89607175 100644 --- a/django/core/files/utils.py +++ b/django/core/files/utils.py @@ -18,12 +18,10 @@ class FileProxyMixin: readline = property(lambda self: self.file.readline) readlines = property(lambda self: self.file.readlines) seek = property(lambda self: self.file.seek) - softspace = property(lambda self: self.file.softspace) tell = property(lambda self: self.file.tell) truncate = property(lambda self: self.file.truncate) write = property(lambda self: self.file.write) writelines = property(lambda self: self.file.writelines) - xreadlines = property(lambda self: self.file.xreadlines) @property def closed(self): diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt index a1f29ebf66..d99e1add2c 100644 --- a/docs/ref/files/file.txt +++ b/docs/ref/files/file.txt @@ -83,9 +83,9 @@ The ``File`` class In addition to the listed methods, :class:`~django.core.files.File` exposes the following attributes and methods of its ``file`` object: ``encoding``, ``fileno``, ``flush``, ``isatty``, ``newlines``, ``read``, - ``readinto``, ``readline``, ``readlines``, ``seek``, ``softspace``, - ``tell``, ``truncate``, ``write``, ``writelines``, ``xreadlines``, - ``readable()``, ``writable()``, and ``seekable()``. + ``readinto``, ``readline``, ``readlines``, ``seek``, ``tell``, + ``truncate``, ``write``, ``writelines``, ``readable()``, ``writable()``, + and ``seekable()``. .. versionchanged:: 1.11