[Python-checkins] cpython (3.3): Issue #18434: Updated example script to tidy up resources.
vinay.sajip
python-checkins at python.org
Fri Jul 12 22:46:17 CEST 2013
http://hg.python.org/cpython/rev/f8c3d05994e4
changeset: 84595:f8c3d05994e4
branch: 3.3
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Fri Jul 12 21:44:35 2013 +0100
summary:
Issue #18434: Updated example script to tidy up resources.
files:
Doc/library/venv.rst | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -262,6 +262,7 @@
else:
sys.stderr.write(s.decode('utf-8'))
sys.stderr.flush()
+ stream.close()
def install_script(self, context, name, url):
_, _, path, _, _, _ = urlparse(url)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list