[Python-checkins] cpython (merge 3.4 -> 3.5): Issue #24021: docstring for urllib.urlcleanup.
robert.collins
python-checkins at python.org
Tue Aug 4 02:53:38 CEST 2015
https://hg.python.org/cpython/rev/6fd69aeb8a3b
changeset: 97236:6fd69aeb8a3b
branch: 3.5
parent: 97233:e9f91d47c8ab
parent: 97235:659f5adc2354
user: Robert Collins <rbtcollins at hp.com>
date: Tue Aug 04 12:52:43 2015 +1200
summary:
Issue #24021: docstring for urllib.urlcleanup.
Patch from Daniel Andrade Groppe and Peter Lovett
files:
Lib/urllib/request.py | 1 +
Misc/ACKS | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -230,6 +230,7 @@
return result
def urlcleanup():
+ """Clean up temporary files from urlretrieve calls."""
for temp_file in _url_tempfiles:
try:
os.unlink(temp_file)
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -518,6 +518,7 @@
Olivier Grisel
Fabian Groffen
Eric Groo
+Daniel Andrade Groppe
Dag Gruneau
Filip Gruszczyński
Thomas Guettler
@@ -860,6 +861,7 @@
Tom Loredo
Justin Love
Ned Jackson Lovely
+Peter Lovett
Chalmer Lowe
Jason Lowe
Tony Lownds
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list