https://github.com/python/cpython/commit/f77dac66e1867cfdf6f7549822dd64416f6063bc
commit: f77dac66e1867cfdf6f7549822dd64416f6063bc
branch: main
author: Nybblista <[email protected]>
committer: picnixz <[email protected]>
date: 2025-05-09T09:06:22+02:00
summary:
gh-133412: amend docs for the `inst` definition (#133708)
The `stack_effect` is incorrectly documented as being allowed to be optional.
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 1ee4306f3eac1d..72020133738fa5 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]