diff options
author | Robert Collins <rbtcollins@hp.com> | 2015-08-04 00:52:06 (GMT) |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2015-08-04 00:52:06 (GMT) |
commit | 2fee5c9367556301a3cfba3202cb71808d01bc81 (patch) | |
tree | 7da1b4d0ed29bc6aa729c977dbde5712f65211d9 | |
parent | 7e220c082b3d23fdfb929332df83d2f917fc8eb2 (diff) | |
download | cpython-2fee5c9367556301a3cfba3202cb71808d01bc81.zip cpython-2fee5c9367556301a3cfba3202cb71808d01bc81.tar.gz cpython-2fee5c9367556301a3cfba3202cb71808d01bc81.tar.bz2 |
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 5cf0cf2..376bba4 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -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) @@ -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 |