mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
Issue #12142: Fixed reference cycle when importing ctypes
This commit is contained in:
parent
8f50912f87
commit
8582bb1ebd
@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from ctypes import *
|
||||
|
||||
_array_type = type(c_int * 3)
|
||||
_array_type = type(Array)
|
||||
|
||||
def _other_endian(typ):
|
||||
"""Return the type with the 'other' byte order. Simple types like
|
||||
|
Loading…
Reference in New Issue
Block a user