File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1372,7 +1372,7 @@ except (<exception>, ...):
1372
1372
except (< exception> , ... ) as < name> :
1373
1373
```
1374
1374
* ** Also catches subclasses of the exception.**
1375
- * ** Use ` 'traceback.print_exc()' ` to print the the error message.**
1375
+ * ** Use ` 'traceback.print_exc()' ` to print the error message.**
1376
1376
1377
1377
### Raising Exceptions
1378
1378
``` python
Original file line number Diff line number Diff line change 1294
1294
1295
1295
< ul >
1296
1296
< li > < strong > Also catches subclasses of the exception.</ strong > </ li >
1297
- < li > < strong > Use < code class ="python hljs "> < span class ="hljs-string "> 'traceback.print_exc()'</ span > </ code > to print the the error message.</ strong > </ li >
1297
+ < li > < strong > Use < code class ="python hljs "> < span class ="hljs-string "> 'traceback.print_exc()'</ span > </ code > to print the error message.</ strong > </ li >
1298
1298
</ ul >
1299
1299
< div > < h3 id ="raisingexceptions "> Raising Exceptions</ h3 > < pre > < code class ="python language-python hljs "> < span class ="hljs-keyword "> raise</ span > <exception>
1300
1300
< span class ="hljs-keyword "> raise</ span > <exception>()
You can’t perform that action at this time.
0 commit comments