Issue #24021: docstring for urllib.urlcleanup.
Patch from Daniel Andrade Groppe and Peter Lovett
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 5cf0cf2..376bba4 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -229,6 +229,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
index 88072c1..5b6a11e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -508,6 +508,7 @@
Olivier Grisel
Fabian Groffen
Eric Groo
+Daniel Andrade Groppe
Dag Gruneau
Filip GruszczyĆski
Thomas Guettler
@@ -836,6 +837,7 @@
Tom Loredo
Justin Love
Ned Jackson Lovely
+Peter Lovett
Jason Lowe
Tony Lownds
Ray Loyzaga