]> granicus.if.org Git - python/commitdiff
Issue #24021: docstring for urllib.urlcleanup.
authorRobert Collins <rbtcollins@hp.com>
Tue, 4 Aug 2015 00:52:06 +0000 (12:52 +1200)
committerRobert Collins <rbtcollins@hp.com>
Tue, 4 Aug 2015 00:52:06 +0000 (12:52 +1200)
Patch from Daniel Andrade Groppe and Peter Lovett

Lib/urllib/request.py
Misc/ACKS

index 5cf0cf2e86a175c7d44231e2e116f030ce5937bd..376bba40791f0a172031f2920910e942c1b45911 100644 (file)
@@ -229,6 +229,7 @@ def urlretrieve(url, filename=None, reporthook=None, data=None):
     return result
 
 def urlcleanup():
+    """Clean up temporary files from urlretrieve calls."""
     for temp_file in _url_tempfiles:
         try:
             os.unlink(temp_file)
index 88072c1155ada4d85bfa863bfb0237b23c9c0750..5b6a11e0e11bd73331c45db81f2bbb516b179a3e 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -508,6 +508,7 @@ Duncan Grisby
 Olivier Grisel
 Fabian Groffen
 Eric Groo
+Daniel Andrade Groppe
 Dag Gruneau
 Filip GruszczyƄski
 Thomas Guettler
@@ -836,6 +837,7 @@ Anne Lord
 Tom Loredo
 Justin Love
 Ned Jackson Lovely
+Peter Lovett
 Jason Lowe
 Tony Lownds
 Ray Loyzaga