summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-02-05 02:36:48 (GMT)
committerMeador Inge <meadori@gmail.com>2012-02-05 02:36:48 (GMT)
commit8582bb1ebd9a5951a790505e8b62d829b2b78326 (patch)
tree799900ebe8d2c454cfbc24dc8cdda1ddc0d33772 /Lib/ctypes
parent8f50912f8709446d379d76defc495a981bb1d8f8 (diff)
downloadcpython-8582bb1ebd9a5951a790505e8b62d829b2b78326.zip
cpython-8582bb1ebd9a5951a790505e8b62d829b2b78326.tar.gz
cpython-8582bb1ebd9a5951a790505e8b62d829b2b78326.tar.bz2
Issue #12142: Fixed reference cycle when importing ctypes
Diffstat (limited to 'Lib/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