fix `let viewdoc_openempty = 0` for pydoc plugin