summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-02-05 02:38:20 (GMT)
committerMeador Inge <meadori@gmail.com>2012-02-05 02:38:20 (GMT)
commit558880451c0234324f4b76d781adbdb7e98e7744 (patch)
tree37868b4a11e209c70cccb5b99749ac600dc77589
parentd446d8e09a76ce0009d76e2b0c1729e1be7c7da8 (diff)
parent8582bb1ebd9a5951a790505e8b62d829b2b78326 (diff)
downloadcpython-558880451c0234324f4b76d781adbdb7e98e7744.zip
cpython-558880451c0234324f4b76d781adbdb7e98e7744.tar.gz
cpython-558880451c0234324f4b76d781adbdb7e98e7744.tar.bz2
Issue #12142: Fixed reference cycle when importing ctypes
-rw-r--r--Lib/ctypes/_endian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/_endian.py b/Lib/ctypes/_endian.py
index 721b0d1..dae65fc 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