summaryrefslogtreecommitdiffstats
path: root/Modules/_ctypes
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2009-04-24 20:18:22 (GMT)
committerThomas Heller <theller@ctypes.org>2009-04-24 20:18:22 (GMT)
commit50101def6ee183e6d57d6cdbb9c1c9ec463cef59 (patch)
tree5467871cddb9bbcd9e7cdcdc91f108fdc4a04b3d /Modules/_ctypes
parent526ca87c27474e3e4ee92aa406135e317ee2dd50 (diff)
downloadcpython-50101def6ee183e6d57d6cdbb9c1c9ec463cef59.zip
cpython-50101def6ee183e6d57d6cdbb9c1c9ec463cef59.tar.gz
cpython-50101def6ee183e6d57d6cdbb9c1c9ec463cef59.tar.bz2
Merged revisions 71847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71847 | thomas.heller | 2009-04-24 22:00:41 +0200 (Fr, 24 Apr 2009) | 2 lines Issue 5041: ctypes unwilling to allow pickling wide character. ........
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r--Modules/_ctypes/_ctypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index 43da209..7caef29 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -1952,7 +1952,7 @@ SimpleType_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
ml = &c_void_p_method;
stgdict->flags |= TYPEFLAG_ISPOINTER;
break;
- case 'u':
+ case 's':
case 'X':
case 'O':
ml = NULL;