From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 9 May 2025 07:12:41 +0000 (+0200) Subject: [3.14] gh-133412: amend docs for the `inst` definition (GH-133708) (#133729) X-Git-Tag: v3.14.0b2~214 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47d4947823a1294de558226f8468db7de84ca7b1;p=thirdparty%2FPython%2Fcpython.git [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 f77dac66e1867cfdf6f7549822dd64416f6063bc) Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com> --- diff --git a/Tools/cases_generator/interpreter_definition.md b/Tools/cases_generator/interpreter_definition.md index 1ee4306f3eac..72020133738f 100644 --- a/Tools/cases_generator/interpreter_definition.md +++ b/Tools/cases_generator/interpreter_definition.md @@ -81,7 +81,7 @@ and a piece of C code describing its semantics: (definition | family | pseudo)+ definition: - "inst" "(" NAME ["," stack_effect] ")" "{" C-code "}" + "inst" "(" NAME "," stack_effect ")" "{" C-code "}" | "op" "(" NAME "," stack_effect ")" "{" C-code "}" |