[docs] [issue31045] Add a language switch to the Python documentation