mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #12142: Fixed reference cycle when importing ctypes
This commit is contained in:
parent
8f50912f87
commit
8582bb1ebd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue