fix Python 3.9 incompatibility
fix Python 3.9 incompatibility

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