commit | 6dc61b110fe9f5a30c6f37fab9e28c33fc6040cf | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 13 14:48:36 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 13 14:48:36 1997 +0000 |
tree | 498973c5ce5f0ea1b0f07fb5249a1c93c9a8d371 | |
parent | 6af4abdba0f9e5bd99fcf51503bd2f44b7dd8056 [diff] |
Add try-finally to close the file after loading it in ModuleLoader.load_module! (Thanks to Daniel Larsson who complained about this.)