summaryrefslogtreecommitdiffstats
path: root/Doc/library/venv.rst
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-07-12 20:44:35 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-07-12 20:44:35 (GMT)
commitad6bb031d79a1c9d678e278f973bbb89a0895760 (patch)
treed9eeb7f1ddba0705714331ba9deff584bd10c45c /Doc/library/venv.rst
parent8c7dde3bd9f502247a6722baefda81afc5ba3ffc (diff)
downloadcpython-ad6bb031d79a1c9d678e278f973bbb89a0895760.zip
cpython-ad6bb031d79a1c9d678e278f973bbb89a0895760.tar.gz
cpython-ad6bb031d79a1c9d678e278f973bbb89a0895760.tar.bz2
Issue #18434: Updated example script to tidy up resources.
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r--Doc/library/venv.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index 5b7b821..5075fb1 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -262,6 +262,7 @@ subclass which installs setuptools and pip into a created venv::
else:
sys.stderr.write(s.decode('utf-8'))
sys.stderr.flush()
+ stream.close()
def install_script(self, context, name, url):
_, _, path, _, _, _ = urlparse(url)