1
0
Fork 0
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:
flencydoc 2021-12-23 03:53:28 +00:00
parent f4f501a230
commit 205c9ede01
2 changed files with 47 additions and 0 deletions

View file

@ -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)