mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-16 15:52:13 +00:00
[cleanup] Misc (#8598)
Authored by: bashonly, pukkandan, seproDev, Grub4K Co-authored-by: bashonly <[email protected]> Co-authored-by: pukkandan <[email protected]> Co-authored-by: sepro <[email protected]>
This commit is contained in:
co-authored by
bashonly
pukkandan
sepro
parent
5f009a094f
commit
f9fb3ce86e
@@ -23,7 +23,7 @@ def traverse_obj(
|
||||
|
||||
>>> obj = [{}, {"key": "value"}]
|
||||
>>> traverse_obj(obj, (1, "key"))
|
||||
"value"
|
||||
'value'
|
||||
|
||||
Each of the provided `paths` is tested and the first producing a valid result will be returned.
|
||||
The next path will also be tested if the path branched but no results could be found.
|
||||
|
||||
Reference in New Issue
Block a user