mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-28 21:22:13 +00:00
parent
2dd6c6edd8
commit
57802e632f
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class JSInterpreter(object):
|
||||||
if not expr:
|
if not expr:
|
||||||
return
|
return
|
||||||
# collections.Counter() is ~10% slower in both 2.7 and 3.9
|
# collections.Counter() is ~10% slower in both 2.7 and 3.9
|
||||||
counters = {k: 0 for k in _MATCHING_PARENS.values()}
|
counters = dict((k, 0) for k in _MATCHING_PARENS.values())
|
||||||
start, splits, pos, delim_len = 0, 0, 0, len(delim) - 1
|
start, splits, pos, delim_len = 0, 0, 0, len(delim) - 1
|
||||||
in_quote, escaping, skipping = None, False, 0
|
in_quote, escaping, skipping = None, False, 0
|
||||||
after_op, in_regex_char_group, skip_re = True, False, 0
|
after_op, in_regex_char_group, skip_re = True, False, 0
|
||||||
|
|
Loading…
Reference in a new issue