mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-13 11:48:05 +08:00
9be9e2292b
The ability to pass a pathlib.Path to open() was new in Python 3.6, and the oldest branch of the Steam Runtime only has Python 3.5 available. Even without considering retrocomputing, using the Path.open method is more consistent with how we read the input 2 lines earlier. Signed-off-by: Simon McVittie <smcv@collabora.com>