Skip to content

Commit b9859ba

Browse files
nybblistataegyunkim
authored andcommitted
pythongh-133412: amend docs for the inst definition (python#133708)
The `stack_effect` is incorrectly documented as being allowed to be optional.
1 parent 8c0d067 commit b9859ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/cases_generator/interpreter_definition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ and a piece of C code describing its semantics:
8181
(definition | family | pseudo)+
8282
8383
definition:
84-
"inst" "(" NAME ["," stack_effect] ")" "{" C-code "}"
84+
"inst" "(" NAME "," stack_effect ")" "{" C-code "}"
8585
|
8686
"op" "(" NAME "," stack_effect ")" "{" C-code "}"
8787
|

0 commit comments

Comments
 (0)