Python match-case raise unexpected token error in GH

Hi I am trying to use a match - case syntax in grasshopper python but raised an unexpected token error.
Is this due to the iron python version? or did I write something wrong here?

data = [“t”, “r”, “o”]
for d in data:
match d:
case “t”:
print(“ggggg”)

match-case was introduced in Python 3.10. Rhino (7 and earlier) use IronPython based on Python 2.7.