We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d7bd1 commit 7cd7d7fCopy full SHA for 7cd7d7f
README.md
@@ -758,11 +758,24 @@ while True:
758
break
759
```
760
761
-#### Raise exception
+#### Raising exception:
762
```python
763
raise IOError("input/output error")
764
765
766
+#### Finaly:
767
+```python
768
+>>> try:
769
+... raise KeyboardInterrupt
770
+... finally:
771
+... print('Goodbye, world!')
772
+...
773
+Goodbye, world!
774
+Traceback (most recent call last):
775
+ File "<stdin>", line 2, in <module>
776
+KeyboardInterrupt
777
+```
778
+
779
780
Bytes
781
-----
0 commit comments