mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-03-03 08:16:21 +01:00
In order to add a new key to both __objects and __functions dicts on jsinterp.py, it is necessary to first verify if a key was present and if not, create the key and assign it to a value. However, this can be done with a single step using dict setdefault method.