mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
The usual.
This commit is contained in:
parent
887d072cc0
commit
e03c050595
25 changed files with 363 additions and 181 deletions
|
@ -142,6 +142,7 @@ class FileInput:
|
|||
self._filelineno = 0
|
||||
self._file = None
|
||||
self._isstdin = 0
|
||||
self._backupfilename = None
|
||||
|
||||
def __del__(self):
|
||||
self.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue