[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:
Miss Islington (bot) 2025-05-09 09:12:44 +02:00 committed by GitHub
parent 3e55441090
commit 4c7a04b8bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,7 @@ ### Syntax
(definition | family | pseudo)+
definition:
"inst" "(" NAME ["," stack_effect] ")" "{" C-code "}"
"inst" "(" NAME "," stack_effect ")" "{" C-code "}"
|
"op" "(" NAME "," stack_effect ")" "{" C-code "}"
|