]> granicus.if.org Git - python/commit
Add try-finally to close the file after loading it in
authorGuido van Rossum <guido@python.org>
Wed, 13 Aug 1997 14:48:36 +0000 (14:48 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 13 Aug 1997 14:48:36 +0000 (14:48 +0000)
commit6dc61b110fe9f5a30c6f37fab9e28c33fc6040cf
tree498973c5ce5f0ea1b0f07fb5249a1c93c9a8d371
parent6af4abdba0f9e5bd99fcf51503bd2f44b7dd8056
Add try-finally to close the file after loading it in
ModuleLoader.load_module!  (Thanks to Daniel Larsson who complained
about this.)
Lib/ihooks.py