[docs] A bug in Python?