https://github.com/python/cpython/commit/4c7a04b8bdf3e4f003025ee49e14f93550acd35c
commit: 4c7a04b8bdf3e4f003025ee49e14f93550acd35c
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: picnixz <10796600+picn...@users.noreply.github.com>
date: 2025-05-09T07:12:44Z
summary:

[3.13] gh-133412: amend docs for the `inst` definition (GH-133708) (#133730)

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+nybbli...@users.noreply.github.com>

files:
M Tools/cases_generator/interpreter_definition.md

diff --git a/Tools/cases_generator/interpreter_definition.md 
b/Tools/cases_generator/interpreter_definition.md
index 889f58fc3e1a75..a00d236be2c2bd 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 "}"
     |

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to