mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-03 03:47:53 +02:00
Added docstrings to several undocumented functions.
This commit is contained in:
parent
f4f501a230
commit
205c9ede01
2 changed files with 47 additions and 0 deletions
|
@ -13,6 +13,10 @@ file_path = join(dirname(dirname(realpath(__file__))), "content.md")
|
|||
|
||||
|
||||
def fetch_updated_doc():
|
||||
"""
|
||||
Fetch the latest version of the file at `url` and save it to `file_path`.
|
||||
If anything goes wrong, do nothing.
|
||||
"""
|
||||
try:
|
||||
print("Fetching the latest version...")
|
||||
urlretrieve(url, file_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue