This commit is contained in:
2025-12-17 19:42:32 -08:00
parent 33bd5a0001
commit 3cf31fa462
2 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ def parse_cmx3600(f: TextIO, tolerant: bool = False) -> EditList:
Parse a CMX 3600 EDL. Parse a CMX 3600 EDL.
:param TextIO f: a file-like object, an opened CMX 3600 .EDL file. :param TextIO f: a file-like object, an opened CMX 3600 .EDL file.
:param bool tolerant: If `True`, a relaxed event line recognition method :param bool tolerant: If `True`, a relaxed event line recognition method
will be used in the case the stricter default method fails. will be used in the case the stricter default method fails.
:returns: An :class:`pycmx.edit_list.EditList`. :returns: An :class:`pycmx.edit_list.EditList`.
""" """

View File

@@ -13,7 +13,8 @@ from .statements import (StmtCdlSat, StmtCdlSop, StmtCorruptRemark, StmtFrmc,
from .util import collimate from .util import collimate
def parse_cmx3600_statements(file: TextIO, tolerant: bool = False) -> List[object]: def parse_cmx3600_statements(file: TextIO,
tolerant: bool = False) -> List[object]:
""" """
Return a list of every statement in the file argument. Return a list of every statement in the file argument.
""" """
@@ -38,7 +39,8 @@ def _edl_column_widths(event_field_length, source_field_length) -> List[int]:
# 8,8,1,4,2,1,4,13,3,1,1] # 8,8,1,4,2,1,4,13,3,1,1]
def _parse_cmx3600_line(line: str, line_number: int, tolerant: bool = False) -> object: def _parse_cmx3600_line(line: str, line_number: int,
tolerant: bool = False) -> object:
""" """
Parses a single CMX EDL line. Parses a single CMX EDL line.