Commit f9754e9
Lift ProgrammingError import + prune aio.cursor __all__
Cycle 7 cleanups:
- AsyncCursor.arraysize.setter imported ProgrammingError inside the
function body on every call. Moved to module-level imports to
match the sync Cursor and avoid repeated runtime import work.
- _strip_leading_comments was leaked into aio.cursor's __all__ when
ISSUE-13 consolidated the helper. It's a private utility; dropped
from __all__ so IDE/grep don't surface it as public API.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ecb718b commit f9754e9
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
0 commit comments