From f947efd3e9931589baeef74946d9da651ca41fcb Mon Sep 17 00:00:00 2001 From: Sergio Kef Date: Sat, 18 Apr 2020 00:12:41 +0200 Subject: [PATCH] Improve docstring --- youtube_dl/archive.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/youtube_dl/archive.py b/youtube_dl/archive.py index 9fb9480e4..643e48ffb 100644 --- a/youtube_dl/archive.py +++ b/youtube_dl/archive.py @@ -15,17 +15,16 @@ class Archive(object): filepath: str The filepath of the archive. Properties: - data: set Container for holding a cache of the archive - disabled: bool When true, all functions are effectively void + _data: set Container for holding a cache of the archive + _disabled: bool When true, all functions are effectively void filepath: str The filepath of the archive + _last_read: float The last modification date of the archive file - Public Methods: + Methods: __contains__ Checks a video id (archive id) exists in archive - record_download Adds a new download to archive - - Private Methods: _file_changed Checks if file has been modified since last read _read_archive Reads archive from disk + record_download Adds a new download to archive """ def __init__(self, filepath):