Fix a couple of small keyword issues. (#21416)

In this section of the manual, "if" should be enclosed in backticks and "elif" should be lower case.
This commit is contained in:
Benji York 2023-02-22 05:12:10 -06:00 • committed by GitHub
commit 64a788cafb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3574,8 +3574,8 @@ Example:
var y = if x > 8: 9 else: 10 var y = if x > 8: 9 else: 10
``` ```
An if expression always results in a value, so the `else` part is An `if` expression always results in a value, so the `else` part is
required. `Elif` parts are also allowed. required. `elif` parts are also allowed.
When expression When expression
--------------- ---------------