diff options
| author | Simon Charette <charette.s@gmail.com> | 2016-05-22 12:43:56 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-05-27 21:05:58 -0400 |
| commit | 4f474607de9b470f977a734bdd47590ab202e778 (patch) | |
| tree | ce05cd13e229c7086362703d84c9dedd8a0d6fb2 /docs/ref/files | |
| parent | 6ab0d1358fc78077064aab88a4fb0a47ca116391 (diff) | |
Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File.
Thanks Tim for the review.
Diffstat (limited to 'docs/ref/files')
| -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 |
