diff --git a/Lib/fileinput.py b/Lib/fileinput.py index 2f895e9dae8..2e26b5b2cd9 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()