Skip to content

Commit 11e286e

Browse files
committed
fix raises-exception that was on the wrong cell
1 parent 6c4161e commit 11e286e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/7-1-exceptions-nb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,6 @@ def divide(x,y):
385385
* par exemple fermer un fichier
386386

387387
```{code-cell} ipython3
388-
:tags: [raises-exception]
389-
390388
def finally_trumps_return(n):
391389
try:
392390
return 2 / n
@@ -395,6 +393,8 @@ def finally_trumps_return(n):
395393
```
396394

397395
```{code-cell} ipython3
396+
:tags: [raises-exception]
397+
398398
finally_trumps_return(0)
399399
```
400400

0 commit comments

Comments
 (0)