1
0
Fork 0

[docs] Misc Cleanup (#8977)

Closes #8355, #8944

Authored by: bashonly, Grub4k, Arthurszzz, seproDev, pukkandan

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: Arthurszzz <minecraftgamerarthur@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
pukkandan 2024-03-11 00:48:47 +05:30 committed by GitHub
commit 47ab66db0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 217 additions and 208 deletions

View file

@ -2227,7 +2227,7 @@ class YoutubeDL:
selectors = []
current_selector = None
for type, string_, start, _, _ in tokens:
# ENCODING is only defined in python 3.x
# ENCODING is only defined in Python 3.x
if type == getattr(tokenize, 'ENCODING', None):
continue
elif type in [tokenize.NAME, tokenize.NUMBER]: