Fix compatibility with Python 3.10
Fix compatibility with Python 3.10

andreikop/qutepart,andreikop/qutepart,hlamer/qutepart,andreikop/qutepart,hlamer/qutepart,hlamer/qutepart,andreikop/qutepart,andreikop/qutepart,hlamer/qutepart,andreikop/qutepart,andreikop/qutepart,hlamer/qutepart,hlamer/qutepart,hlamer/qutepart,andreikop/qutepart,hlamer/qutepart,andreikop/qutepart,andreikop/qutepart,hlamer/qutepart,hlamer/qutepart,andreikop/qutepart,hlamer/qutepart