diff -r e95161820160 Doc/library/fileinput.rst --- a/Doc/library/fileinput.rst Tue Jun 25 11:35:44 2013 -0700 +++ b/Doc/library/fileinput.rst Fri Jun 28 17:32:41 2013 -0400 @@ -50,7 +50,7 @@ The following function is the primary interface of this module: -.. function:: input([files[, inplace[, backup[, mode[, openhook]]]]]) +.. function:: input([files[, inplace[, backup[, bufsize[, mode[, openhook]]]]]]) Create an instance of the :class:`FileInput` class. The instance will be used as global state for the functions of this module, and is also returned to use @@ -122,7 +122,7 @@ available for subclassing as well: -.. class:: FileInput([files[, inplace[, backup[, mode[, openhook]]]]]) +.. class:: FileInput([files[, inplace[, backup[,bufsize[, mode[, openhook]]]]]]) Class :class:`FileInput` is the implementation; its methods :meth:`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:`isfirstline`, diff -r e95161820160 Lib/fileinput.py --- a/Lib/fileinput.py Tue Jun 25 11:35:44 2013 -0700 +++ b/Lib/fileinput.py Fri Jun 28 17:32:41 2013 -0400 @@ -90,7 +90,7 @@ def input(files=None, inplace=0, backup="", bufsize=0, mode="r", openhook=None): - """input([files[, inplace[, backup[, mode[, openhook]]]]]) + """input([files[, inplace[, backup[, bufsize[, mode[, openhook]]]]]]) Create an instance of the FileInput class. The instance will be used as global state for the functions of this module, and is also returned @@ -182,7 +182,7 @@ return _state.isstdin() class FileInput: - """class FileInput([files[, inplace[, backup[, mode[, openhook]]]]]) + """class FileInput([files[, inplace[, backup[, bufsize[, mode[, openhook]]]]]]) Class FileInput is the implementation of the module; its methods filename(), lineno(), fileline(), isfirstline(), isstdin(), fileno(),