diff options
author | Robert Collins <rbtcollins@hp.com> | 2015-08-04 12:52:58 +1200 |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2015-08-04 12:52:58 +1200 |
commit | a5ffba00ab9fe5c25f9b9bd5a8406836e921b520 (patch) | |
tree | 8fc18fc4edaa47e161b085e9e713a02e7a75097d | |
parent | ac5e87caff7276fe347f14b3f5e95158d5f324b9 (diff) | |
parent | 1f9a29f31b8e21997310206fd88d7ad0ca74c4f5 (diff) | |
download | cpython-git-a5ffba00ab9fe5c25f9b9bd5a8406836e921b520.tar.gz |
Issue #24021: docstring for urllib.urlcleanup.
Patch from Daniel Andrade Groppe and Peter Lovett
-rw-r--r-- | Lib/urllib/request.py | 1 | ||||
-rw-r--r-- | Misc/ACKS | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index eada0a9132..a7fd017e10 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -230,6 +230,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) @@ -518,6 +518,7 @@ Duncan Grisby Olivier Grisel Fabian Groffen Eric Groo +Daniel Andrade Groppe Dag Gruneau Filip GruszczyĆski Thomas Guettler @@ -860,6 +861,7 @@ Anne Lord Tom Loredo Justin Love Ned Jackson Lovely +Peter Lovett Chalmer Lowe Jason Lowe Tony Lownds |