mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
TOOLS/matroska.py: plumb some type hints to make new mypy happy
We don't use strict mode still, so only few are typed.
This commit is contained in:
+2
-2
@@ -291,8 +291,8 @@ class MatroskaElement:
|
||||
self.subelements = subelements
|
||||
self.subids = {x[0].elid for x in subelements}
|
||||
|
||||
elementd = {}
|
||||
elementlist = []
|
||||
elementd: dict[str, MatroskaElement] = {}
|
||||
elementlist: list[MatroskaElement] = []
|
||||
def parse_elems(elements, namespace):
|
||||
subelements = []
|
||||
for el in elements:
|
||||
|
||||
Reference in New Issue
Block a user