diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-19 21:26:07 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-19 21:26:07 +0000 |
commit | 200a58058a504da4cc2f9145e671b009b0bedd27 (patch) | |
tree | 0abafed5ff1ae343cb295b443130e1eecfb38ee6 /Lib/fileinput.py | |
parent | 4d7cad115d063c26f56f577eb0e650edaa285798 (diff) | |
download | cpython-git-200a58058a504da4cc2f9145e671b009b0bedd27.tar.gz |
Whitespace normalization.
Diffstat (limited to 'Lib/fileinput.py')
-rw-r--r-- | Lib/fileinput.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/fileinput.py b/Lib/fileinput.py index 2c4c9dc269..19932ca8e6 100644 --- a/Lib/fileinput.py +++ b/Lib/fileinput.py @@ -88,7 +88,7 @@ _state = None DEFAULT_BUFSIZE = 8*1024 -def input(files=None, inplace=0, backup="", bufsize=0, +def input(files=None, inplace=0, backup="", bufsize=0, mode="r", openhook=None): """input([files[, inplace[, backup[, mode[, openhook]]]]]) @@ -194,7 +194,7 @@ class FileInput: sequential order; random access and readline() cannot be mixed. """ - def __init__(self, files=None, inplace=0, backup="", bufsize=0, + def __init__(self, files=None, inplace=0, backup="", bufsize=0, mode="r", openhook=None): if isinstance(files, basestring): files = (files,) |