mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Add missing initializer for self._backupfilename. Due to Ralph Butler.
This commit is contained in:
parent
3a8d1f5a6b
commit
0aec9fb183
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ class FileInput:
|
||||||
self._filelineno = 0
|
self._filelineno = 0
|
||||||
self._file = None
|
self._file = None
|
||||||
self._isstdin = 0
|
self._isstdin = 0
|
||||||
|
self._backupfilename = None
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
self.close()
|
self.close()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue