Skip to content

Commit adb8d10

Browse files
committed
Remove as imports
1 parent 2074c3d commit adb8d10

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

stdlib/ctypes/_endian.pyi

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
import sys
2-
from _ctypes import Structure, Union
3-
4-
if sys.version_info < (3, 13):
5-
from _ctypes import RTLD_GLOBAL as RTLD_GLOBAL, RTLD_LOCAL as RTLD_LOCAL
6-
from ctypes import DEFAULT_MODE as DEFAULT_MODE, cdll as cdll, pydll as pydll, pythonapi as pythonapi
7-
8-
if sys.version_info >= (3, 12) and sys.version_info < (3, 13):
9-
from _ctypes import SIZEOF_TIME_T as SIZEOF_TIME_T
10-
11-
if sys.platform == "win32" and sys.version_info < (3, 13):
12-
from ctypes import oledll as oledll, windll as windll
2+
from ctypes import Structure, Union
133

144
# At runtime, the native endianness is an alias for Structure,
155
# while the other is a subclass with a metaclass added in.

0 commit comments

Comments
 (0)