Added compatibility with Python 3.13. Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de>