1
0
Fork 0

Remove Python 3.9 support (#13861)

Closes #13858
Authored by: bashonly
This commit is contained in:
bashonly 2025-10-15 05:25:21 -05:00 committed by GitHub
commit 4e6a693057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 85 additions and 191 deletions

View file

@ -103,7 +103,7 @@ def _parse_ts(ts):
into an MPEG PES timestamp: a tick counter at 90 kHz resolution.
"""
return 90 * sum(
int(part or 0) * mult for part, mult in zip(ts.groups(), (3600_000, 60_000, 1000, 1)))
int(part or 0) * mult for part, mult in zip(ts.groups(), (3600_000, 60_000, 1000, 1), strict=True))
def _format_ts(ts):