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:
parent
a3603c8a6e
commit
64a788cafb
1 changed files with 2 additions and 2 deletions
|
|
@ -3574,8 +3574,8 @@ Example:
|
|||
var y = if x > 8: 9 else: 10
|
||||
```
|
||||
|
||||
An if expression always results in a value, so the `else` part is
|
||||
required. `Elif` parts are also allowed.
|
||||
An `if` expression always results in a value, so the `else` part is
|
||||
required. `elif` parts are also allowed.
|
||||
|
||||
When expression
|
||||
---------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue