Commit 2a0305b
committed
Name top-level exceptions as private variables
`exc` is private to the module. Naming it `_exc` eliminates a collision
with the `exc` submodule (one which would not be observable at runtime
due to the import failing, but which confuses linters).1 parent e3bc5d1 commit 2a0305b
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
0 commit comments