Skip to content

Commit 3fae642

Browse files
authored
Integrate @encukou's suggestion to use lazy imports in ctypes
1 parent 1ed0ec6 commit 3fae642

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/ctypes/util.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import os
2-
import shutil
3-
import subprocess
42
import sys
53

4+
lazy import shutil
5+
lazy import subprocess
6+
67
# find_library(name) returns the pathname of a library, or None.
78
if os.name == "nt":
89

0 commit comments

Comments
 (0)