From 200a58058a504da4cc2f9145e671b009b0bedd27 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 19 Feb 2006 21:26:07 +0000 Subject: Whitespace normalization. --- Lib/fileinput.py | 4 ++-- 1 file 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,) -- cgit v0.12