From 54560974e0d3a61ae18102fcb1676421dcad4201 Mon Sep 17 00:00:00 2001 From: rdrooij Date: Sun, 21 Apr 2019 19:30:57 +0200 Subject: [PATCH] Fix some typos in the comments --- youtube_dl/YoutubeDL.py | 4 ++-- youtube_dl/utils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 57f52f888..5b72e041e 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -262,7 +262,7 @@ class YoutubeDL(object): - "detect_or_warn": check whether we can do anything about it, warn otherwise (default) source_address: Client-side IP address to bind to. - call_home: Boolean, true iff we are allowed to contact the + call_home: Boolean, true if we are allowed to contact the youtube-dl servers for debugging. sleep_interval: Number of seconds to sleep before each download when used alone or a lower bound of a range for randomized @@ -720,7 +720,7 @@ class YoutubeDL(object): return None def _match_entry(self, info_dict, incomplete): - """ Returns None iff the file should be downloaded """ + """ Returns None if the file should be downloaded """ video_title = info_dict.get('title', info_dict.get('id', 'video')) if 'title' in info_dict: diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 71713f63a..bbc238b53 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -2575,7 +2575,7 @@ def encode_data_uri(data, mime_type): def age_restricted(content_limit, age_limit): - """ Returns True iff the content should be blocked """ + """ Returns True if the content should be blocked """ if age_limit is None: # No limit set return False