summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2009-04-24 20:00:41 (GMT)
committerThomas Heller <theller@ctypes.org>2009-04-24 20:00:41 (GMT)
commitec21ccde12da6a5cc7143b533e0c707ebe5c1a3a (patch)
treedae167ce40c6c662441e1ecfa4429902fa26c588 /Modules
parentaddfe22821ad8db05e8dd0e90fe68463dd69c500 (diff)
downloadcpython-ec21ccde12da6a5cc7143b533e0c707ebe5c1a3a.zip
cpython-ec21ccde12da6a5cc7143b533e0c707ebe5c1a3a.tar.gz
cpython-ec21ccde12da6a5cc7143b533e0c707ebe5c1a3a.tar.bz2
Issue 5041: ctypes unwilling to allow pickling wide character.
Diffstat (limited to 'Modules')
-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;