Commit bbbff2f
Drop the redundant InterfaceError alias in the cursor module
The dbapi cursor module previously imported InterfaceError twice — once
unaliased and once as _DbapiInterfaceError — to disambiguate from
_client_exc.InterfaceError inside _call_client. The client-side reference
already carries the _client_exc. module prefix, so the alias adds no
disambiguation and just costs a reader a double-take.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d40e328 commit bbbff2f
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
56 | | - | |
| 53 | + | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
| 57 | + | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | | - | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
0 commit comments