From: Meador Inge Date: Sun, 5 Feb 2012 06:27:40 +0000 (-0600) Subject: Issue #12142: Fixed reference cycle when importing ctypes X-Git-Tag: v2.7.3rc1~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25e70fd13392023fd2e777986ad4a808533316bd;p=thirdparty%2FPython%2Fcpython.git Issue #12142: Fixed reference cycle when importing ctypes --- diff --git a/Lib/ctypes/_endian.py b/Lib/ctypes/_endian.py index e6b8556954f7..f80e675aaf27 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