@@ -152,6 +152,7 @@ def write_scene_list(
152152 Raises:
153153 TypeError: "delimiter" must be a 1-character string
154154 """
155+ # `_open_output_file` replaces filesystem paths with writable text streams.
155156 assert not isinstance (output_csv_file , (str , bytes , os .PathLike ))
156157 output_file = output_csv_file
157158 csv_writer = csv .writer (output_file , delimiter = col_separator , lineterminator = row_separator )
@@ -374,6 +375,7 @@ def write_scene_list_edl(
374375 every event so the EDL aligns with the source media's on-screen timecode. Applied to
375376 both source and record columns.
376377 """
378+ # `_open_output_file` replaces filesystem paths with writable text streams.
377379 assert not isinstance (output_path , (str , bytes , os .PathLike ))
378380 output_file = output_path
379381 offset_frames = 0
@@ -436,6 +438,7 @@ def write_scene_list_fcpx(
436438 of `video_path`.
437439 """
438440 assert scene_list
441+ # `_open_output_file` replaces filesystem paths with writable text streams.
439442 assert not isinstance (output_path , (str , bytes , os .PathLike ))
440443 output_file = output_path
441444 video_path = Path (video_path )
@@ -540,6 +543,7 @@ def write_scene_list_fcp7(
540543 frozen. If None, falls back to the last scene's end time.
541544 """
542545 assert scene_list
546+ # `_open_output_file` replaces filesystem paths with writable text streams.
543547 assert not isinstance (output_path , (str , bytes , os .PathLike ))
544548 output_file = output_path
545549 video_path = Path (video_path )
@@ -654,6 +658,7 @@ def write_scene_list_otio(
654658 name: Timeline name. Defaults to the stem of `video_path`.
655659 audio: If True (default), include an audio track alongside the video track.
656660 """
661+ # `_open_output_file` replaces filesystem paths with writable text streams.
657662 assert not isinstance (output_path , (str , bytes , os .PathLike ))
658663 output_file = output_path
659664 video_path = Path (video_path )
0 commit comments