mirror of https://github.com/python/cpython.git
Issue #12142: Fixed reference cycle when importing ctypes
This commit is contained in:
parent
acd51f9ea9
commit
25e70fd133
|
@ -4,7 +4,7 @@
|
||||||
import sys
|
import sys
|
||||||
from ctypes import *
|
from ctypes import *
|
||||||
|
|
||||||
_array_type = type(c_int * 3)
|
_array_type = type(Array)
|
||||||
|
|
||||||
def _other_endian(typ):
|
def _other_endian(typ):
|
||||||
"""Return the type with the 'other' byte order. Simple types like
|
"""Return the type with the 'other' byte order. Simple types like
|
||||||
|
|
Loading…
Reference in New Issue