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

Skip to content

Commit 47d4947

Browse files
[3.14] gh-133412: amend docs for the inst definition (GH-133708) (#133729)
gh-133412: amend docs for the `inst` definition (GH-133708) The `stack_effect` is incorrectly documented as being allowed to be optional. (cherry picked from commit f77dac6) Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
1 parent 3937c78 commit 47d4947

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