loader: Restore compatibility with Python 3.8

This commit is contained in:
rdb 2026-01-26 14:29:04 +01:00
parent 99bbc14973
commit 8bbc1a1515
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ import os
from typing import Any, Callable, Iterable, Union
# Type aliases for loadModel, loadSound, etc. annotations
_ModelPath = Union[str, Filename, os.PathLike[str]]
_SoundPath = Union[str, Filename, os.PathLike[str], MovieAudio]
_ModelPath = Union[str, Filename, os.PathLike]
_SoundPath = Union[str, Filename, os.PathLike, MovieAudio]
# You can specify a phaseChecker callback to check
# a modelPath to see if it is being loaded in the correct