diff options
author | Guido van Rossum <guido@python.org> | 1998-07-20 15:49:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-20 15:49:28 (GMT) |
commit | 0aec9fb1830bf3441b044f98cb306dc3432455ef (patch) | |
tree | 69560a688575244fa620beccd138683423897525 /Lib | |
parent | 3a8d1f5a6b6319238aa3afba7751dfc0d36a8fc2 (diff) | |
download | cpython-0aec9fb1830bf3441b044f98cb306dc3432455ef.zip cpython-0aec9fb1830bf3441b044f98cb306dc3432455ef.tar.gz cpython-0aec9fb1830bf3441b044f98cb306dc3432455ef.tar.bz2 |
Add missing initializer for self._backupfilename. Due to Ralph Butler.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/fileinput.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/fileinput.py b/Lib/fileinput.py index 2f895e9..2e26b5b 100644 --- a/Lib/fileinput.py +++ b/Lib/fileinput.py @@ -142,6 +142,7 @@ class FileInput: self._filelineno = 0 self._file = None self._isstdin = 0 + self._backupfilename = None def __del__(self): self.close() |