Commit 43a0bfc8 authored by Robert Collins's avatar Robert Collins

Issue #24021: docstring for urllib.urlcleanup.

Patch from Daniel Andrade Groppe and Peter Lovett
parent 9230b67e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment