diff options
| author | Cody Logan <cody@lokken.dev> | 2023-11-14 16:56:15 -0800 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-11-14 16:56:15 -0800 |
| commit | c459e3bb9553e31224348b055aaaec3a567613bb (patch) | |
| tree | 9a518ed22ba9f1529b4acbd42170d6bb878f95e7 /src/wikiget/dl.py | |
| parent | 605085c95fe5ab6af337aefc723794f78cf3dfd7 (diff) | |
| download | wikiget-c459e3bb9553e31224348b055aaaec3a567613bb.tar.gz wikiget-c459e3bb9553e31224348b055aaaec3a567613bb.zip | |
Docstring type fixes
Diffstat (limited to 'src/wikiget/dl.py')
| -rw-r--r-- | src/wikiget/dl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wikiget/dl.py b/src/wikiget/dl.py index abd0533..9b2777f 100644 --- a/src/wikiget/dl.py +++ b/src/wikiget/dl.py @@ -49,7 +49,7 @@ def prep_download(dl: str, args: Namespace) -> File: :type args: argparse.Namespace :raises FileExistsError: the destination file already exists on disk :return: a File object representing the file to download - :rtype: File + :rtype: wikiget.file.File """ file = get_dest(dl, args) @@ -169,7 +169,7 @@ def download(f: File, args: Namespace) -> int: """Fetch file information and contents if the file exists and save it to disk. :param f: a File object representing the file to be downloaded - :type f: File + :type f: wikiget.file.File :param args: command-line arguments and their values :type args: argparse.Namespace :return: number of errors encountered during processing |
