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 break
``` ```
#### Raising exception: ### Raising Exceptions
```python ```python
raise ValueError('A very specific message!') raise ValueError('A very specific message!')
``` ```
#### Finally: ### Finally
```python ```python
>>> try: >>> try:
... raise KeyboardInterrupt ... raise KeyboardInterrupt

|||||||
100:0
Loading…
Cancel
Save