[3.11] gh-109120: Fix syntax error in handlinh of incorrect star expressions… (#117464)

gh-109120: Fix syntax error in handlinh of incorrect star expressions (#117444)

(cherry picked from commit c97d3af2391e62ef456ef2365d48ab9b8cdbe27b)
4 files changed