diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/files/file.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt index e88032ab66..6c218e38b3 100644 --- a/docs/ref/files/file.txt +++ b/docs/ref/files/file.txt @@ -92,8 +92,13 @@ The ``File`` class the following attributes and methods of its ``file`` object: ``encoding``, ``fileno``, ``flush``, ``isatty``, ``newlines``, ``read``, ``readinto``, ``readlines``, ``seek``, ``softspace``, ``tell``, - ``truncate``, ``writelines``, ``xreadlines``. If you are using - Python 3, the ``seekable`` method is also available. + ``truncate``, ``writelines``, ``xreadlines``, ``readable()``, + ``writable()``, and ``seekable()``. + + .. versionchanged:: 1.11 + + The ``readable()`` and ``writable()`` methods were added and the + ``seekable()`` method was made available on Python 2. .. currentmodule:: django.core.files.base |
