From: Meador Inge Date: Sun, 5 Feb 2012 02:36:48 +0000 (-0600) Subject: Issue #12142: Fixed reference cycle when importing ctypes X-Git-Tag: v3.3.0a1~245^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8582bb1ebd9a5951a790505e8b62d829b2b78326;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 721b0d1c9e30..dae65fc2152d 100644 --- a/Lib/ctypes/_endian.py +++ b/Lib/ctypes/_endian.py @@ -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