8000 gh-133412: amend docs for the `inst` definition (#133708) · python/cpython@f77dac6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f77dac6

Browse files
authored
gh-133412: amend docs for the inst definition (#133708)
The `stack_effect` is incorrectly documented as being allowed to be optional.
1 parent 8054184 commit f77dac6

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)
0