diff options
author | Georg Brandl <georg@python.org> | 2009-05-17 12:29:12 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-17 12:29:12 (GMT) |
commit | 71515ca191f32651c923c70e891632b4ac820b4f (patch) | |
tree | d6694e4aabe615b76ca113374bf35cd817fca330 /Doc/library/fileinput.rst | |
parent | ef0a865f9c906a1298c43a453b2195d86befd6a4 (diff) | |
download | cpython-71515ca191f32651c923c70e891632b4ac820b4f.zip cpython-71515ca191f32651c923c70e891632b4ac820b4f.tar.gz cpython-71515ca191f32651c923c70e891632b4ac820b4f.tar.bz2 |
Remove surplus empty lines and convert more files to new optional arg style.
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r-- | Doc/library/fileinput.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst index 76d5d6f..d98a198 100644 --- a/Doc/library/fileinput.rst +++ b/Doc/library/fileinput.rst @@ -47,7 +47,7 @@ provided by this module. The following function is the primary interface of this module: -.. function:: input([files[, inplace[, backup[, mode[, openhook]]]]]) +.. function:: input(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) 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 @@ -115,7 +115,7 @@ The class which implements the sequence behavior provided by the module is available for subclassing as well: -.. class:: FileInput([files[, inplace[, backup[, mode[, openhook]]]]]) +.. class:: FileInput(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) Class :class:`FileInput` is the implementation; its methods :meth:`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:`isfirstline`, |