mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
Issue #24021: docstring for urllib.urlcleanup.
Patch from Daniel Andrade Groppe and Peter Lovett
This commit is contained in:
commit
a5ffba00ab
2 changed files with 3 additions and 0 deletions
|
|
@ -230,6 +230,7 @@ def urlretrieve(url, filename=None, reporthook=None, data=None):
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def urlcleanup():
|
def urlcleanup():
|
||||||
|
"""Clean up temporary files from urlretrieve calls."""
|
||||||
for temp_file in _url_tempfiles:
|
for temp_file in _url_tempfiles:
|
||||||
try:
|
try:
|
||||||
os.unlink(temp_file)
|
os.unlink(temp_file)
|
||||||
|
|
|
||||||
|
|
@ -518,6 +518,7 @@ Duncan Grisby
|
||||||
Olivier Grisel
|
Olivier Grisel
|
||||||
Fabian Groffen
|
Fabian Groffen
|
||||||
Eric Groo
|
Eric Groo
|
||||||
|
Daniel Andrade Groppe
|
||||||
Dag Gruneau
|
Dag Gruneau
|
||||||
Filip Gruszczyński
|
Filip Gruszczyński
|
||||||
Thomas Guettler
|
Thomas Guettler
|
||||||
|
|
@ -860,6 +861,7 @@ Anne Lord
|
||||||
Tom Loredo
|
Tom Loredo
|
||||||
Justin Love
|
Justin Love
|
||||||
Ned Jackson Lovely
|
Ned Jackson Lovely
|
||||||
|
Peter Lovett
|
||||||
Chalmer Lowe
|
Chalmer Lowe
|
||||||
Jason Lowe
|
Jason Lowe
|
||||||
Tony Lownds
|
Tony Lownds
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue