diff --git a/README.md b/README.md index 4fd3d05..e68f6f2 100644 --- a/README.md +++ b/README.md @@ -758,11 +758,24 @@ while True: break ``` -#### Raise exception +#### Raising exception: ```python raise IOError("input/output error") ``` +#### Finaly: +```python +>>> try: +... raise KeyboardInterrupt +... finally: +... print('Goodbye, world!') +... +Goodbye, world! +Traceback (most recent call last): + File "", line 2, in +KeyboardInterrupt +``` + Bytes -----