[docs]fix an item missing (#18717)

This commit is contained in:
flywind
2021-08-21 02:00:04 +08:00
committed by GitHub
parent f2910077ac
commit e52221e296

View File

@@ -364,6 +364,7 @@ AST:
nnkExprColonExpr(nnkIdent("a"), nnkIntLit(1)),
nnkExprColonExpr(nnkIdent("b"), nnkIntLit(2)),
nnkExprColonExpr(nnkIdent("c"), nnkIntLit(3)))
nnkTupleConstr()
Since the one tuple would be syntactically identical to parentheses
with an expression in them, the parser expects a trailing comma for