Commit d40e328
Hoist math import to module level in the PEP 249 module
The sync connect() function imported math inside the function body,
while the async module's aio/__init__.py imports it at module top. Move
the sync import to the top so both modules use the same idiom.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 467a411 commit d40e328
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
122 | | - | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments