[docs]fix an item missing (#18717)
This commit is contained in:
parent
f2910077ac
commit
e52221e296
1 changed files with 1 additions and 0 deletions
|
|
@ -364,6 +364,7 @@ AST:
|
||||||
nnkExprColonExpr(nnkIdent("a"), nnkIntLit(1)),
|
nnkExprColonExpr(nnkIdent("a"), nnkIntLit(1)),
|
||||||
nnkExprColonExpr(nnkIdent("b"), nnkIntLit(2)),
|
nnkExprColonExpr(nnkIdent("b"), nnkIntLit(2)),
|
||||||
nnkExprColonExpr(nnkIdent("c"), nnkIntLit(3)))
|
nnkExprColonExpr(nnkIdent("c"), nnkIntLit(3)))
|
||||||
|
nnkTupleConstr()
|
||||||
|
|
||||||
Since the one tuple would be syntactically identical to parentheses
|
Since the one tuple would be syntactically identical to parentheses
|
||||||
with an expression in them, the parser expects a trailing comma for
|
with an expression in them, the parser expects a trailing comma for
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue