fix for the issue of builidng sphinx documentation for python3