Browse Source

Exceptions

pull/9/head
Jure Šorn 6 years ago
parent
commit
861ab4f466
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -809,12 +809,12 @@ while True:
break
```
#### Raising exception:
### Raising Exceptions
```python
raise ValueError('A very specific message!')
```
#### Finally:
### Finally
```python
>>> try:
... raise KeyboardInterrupt

Loading…
Cancel
Save