diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-19 21:26:07 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-19 21:26:07 (GMT) |
commit | 200a58058a504da4cc2f9145e671b009b0bedd27 (patch) | |
tree | 0abafed5ff1ae343cb295b443130e1eecfb38ee6 | |
parent | 4d7cad115d063c26f56f577eb0e650edaa285798 (diff) | |
download | cpython-200a58058a504da4cc2f9145e671b009b0bedd27.zip cpython-200a58058a504da4cc2f9145e671b009b0bedd27.tar.gz cpython-200a58058a504da4cc2f9145e671b009b0bedd27.tar.bz2 |
Whitespace normalization.
-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 2c4c9dc..19932ca 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,) |