[docs] [issue42284] The grammar specification is inconsistent with the implementation of Python parser.