From 25e70fd13392023fd2e777986ad4a808533316bd Mon Sep 17 00:00:00 2001 From: Meador Inge Date: Sun, 5 Feb 2012 00:27:40 -0600 Subject: [PATCH] Issue #12142: Fixed reference cycle when importing ctypes --- Lib/ctypes/_endian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ctypes/_endian.py b/Lib/ctypes/_endian.py index e6b8556954f..f80e675aaf2 100644 --- a/Lib/ctypes/_endian.py +++ b/Lib/ctypes/_endian.py @@ -4,7 +4,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