summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-03-08 16:35:45 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-03-08 16:35:45 (GMT)
commit69b7f812faf4c707a3e89b4d67c13ffb12a4bd16 (patch)
treecc5de07f7866bf578f87e62abc6c830bb55422e4 /Doc/library
parent2d80fb39054a8bfcc5a00c9ddd5315a06757acde (diff)
downloadcpython-69b7f812faf4c707a3e89b4d67c13ffb12a4bd16.zip
cpython-69b7f812faf4c707a3e89b4d67c13ffb12a4bd16.tar.gz
cpython-69b7f812faf4c707a3e89b4d67c13ffb12a4bd16.tar.bz2
Issue #15068: Got rid of excessive buffering in the fileinput module.
The bufsize parameter is no longer used.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/fileinput.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 710bef3..a2ffeff 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -60,6 +60,9 @@ The following function is the primary interface of this module:
.. versionchanged:: 2.5
Added the *mode* and *openhook* parameters.
+ .. versionchanged:: 2.7.12
+ The *bufsize* parameter is no longer used.
+
The following functions use the global state created by :func:`fileinput.input`;
if there is no active state, :exc:`RuntimeError` is raised.
@@ -143,6 +146,9 @@ available for subclassing as well:
.. versionchanged:: 2.5
Added the *mode* and *openhook* parameters.
+ .. versionchanged:: 2.7.12
+ The *bufsize* parameter is no longer used.
+
**Optional in-place filtering:** if the keyword argument ``inplace=1`` is passed
to :func:`fileinput.input` or to the :class:`FileInput` constructor, the file is
moved to a backup file and standard output is directed to the input file (if a