summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)