Fix for Python 3.10 (#329)

4 files changed