mirror of
https://github.com/python/cpython.git
synced 2025-10-25 18:54:53 +00:00
[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 f77dac66e1)
Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
This commit is contained in:
parent
3e55441090
commit
4c7a04b8bd
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ ### Syntax
|
||||||
(definition | family | pseudo)+
|
(definition | family | pseudo)+
|
||||||
|
|
||||||
definition:
|
definition:
|
||||||
"inst" "(" NAME ["," stack_effect] ")" "{" C-code "}"
|
"inst" "(" NAME "," stack_effect ")" "{" C-code "}"
|
||||||
|
|
|
|
||||||
"op" "(" NAME "," stack_effect ")" "{" C-code "}"
|
"op" "(" NAME "," stack_effect ")" "{" C-code "}"
|
||||||
|
|
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue