[New-bugs-announce] [issue39049] Add "elif" to "for_stmt" and "while_stmt"
Andrey
report at bugs.python.org
Sat Dec 14 15:27:23 EST 2019
New submission from Andrey <komissar.off.andrey at gmail.com>:
Add an ability to use "elif" in for statement and while statement besides "else"
Example
Now:
```python3
for i in range(j):
...
else:
if i > 5:
...
else:
...
```
Shall be:
```python3
for i in range(j):
...
elif i > 5:
...
else:
...
```
----------
components: Build
messages: 358406
nosy: moff4
priority: normal
severity: normal
status: open
title: Add "elif" to "for_stmt" and "while_stmt"
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39049>
_______________________________________
More information about the New-bugs-announce
mailing list