Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5588804

Browse files
committed
Issue #12142: Fixed reference cycle when importing ctypes
2 parents d446d8e + 8582bb1 commit 5588804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/ctypes/_endian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22
from ctypes import *
33

4-
_array_type = type(c_int * 3)
4+
_array_type = type(Array)
55

66
def _other_endian(typ):
77
"""Return the type with the 'other' byte order. Simple types like

0 commit comments

Comments
 (0)