Commit 0ba9e10
committed
gh-156363: Use PEP 810 lazy imports for inspect and re in rlcompleter
Address review feedback: replace deferred in-function imports of
`inspect` and `re` with `lazy import` statements at the top of the
module, keeping them alongside the regular imports.1 parent fadfaf9 commit 0ba9e10
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
106 | | - | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | | - | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
0 commit comments