diff options
author | Robert Collins <rbtcollins@hp.com> | 2015-08-04 00:52:43 (GMT) |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2015-08-04 00:52:43 (GMT) |
commit | 1f9a29f31b8e21997310206fd88d7ad0ca74c4f5 (patch) | |
tree | edda38cc2490ff85bafd5657f7421684c38c7895 /Lib/urllib | |
parent | 132aecb142dc91b515d36bedd5d7aebd01140fb7 (diff) | |
parent | 2fee5c9367556301a3cfba3202cb71808d01bc81 (diff) | |
download | cpython-1f9a29f31b8e21997310206fd88d7ad0ca74c4f5.zip cpython-1f9a29f31b8e21997310206fd88d7ad0ca74c4f5.tar.gz cpython-1f9a29f31b8e21997310206fd88d7ad0ca74c4f5.tar.bz2 |
Issue #24021: docstring for urllib.urlcleanup.
Patch from Daniel Andrade Groppe and Peter Lovett
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/request.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index eada0a9..a7fd017 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) |