mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
[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 f77dac66e1)
Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3937c78e36
commit
47d4947823
@@ -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 "}"
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user