mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-07-21 21:41:17 +02:00
Added docstrings to several undocumented functions.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user