[PATCH v2] doc/python: Update to Python 3