fixed doc build on py2.4