- Notifications
You must be signed in to change notification settings - Fork28
Commitb55413d
committed
Modernize Python exception syntax in documentation
Change the exception syntax used in the documentation to use the morecurrent except Exception as ex:rather than the old except Exception, ex:We keep the old syntax in the test code since Python <2.6 is stillsupported there, but the documentation might as well use the modernsyntax.1 parent0ce3873 commitb55413d
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1227 | 1227 |
| |
1228 | 1228 |
| |
1229 | 1229 |
| |
1230 |
| - | |
| 1230 | + | |
1231 | 1231 |
| |
1232 | 1232 |
| |
1233 | 1233 |
| |
| |||
1274 | 1274 |
| |
1275 | 1275 |
| |
1276 | 1276 |
| |
1277 |
| - | |
| 1277 | + | |
1278 | 1278 |
| |
1279 | 1279 |
| |
1280 | 1280 |
| |
| |||
1306 | 1306 |
| |
1307 | 1307 |
| |
1308 | 1308 |
| |
1309 |
| - | |
| 1309 | + | |
1310 | 1310 |
| |
1311 | 1311 |
| |
1312 | 1312 |
| |
| |||
1357 | 1357 |
| |
1358 | 1358 |
| |
1359 | 1359 |
| |
1360 |
| - | |
| 1360 | + | |
1361 | 1361 |
| |
1362 | 1362 |
| |
1363 | 1363 |
| |
|
0 commit comments
Comments
(0)