diff options
author | Thomas Heller <theller@ctypes.org> | 2009-04-24 20:00:41 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2009-04-24 20:00:41 (GMT) |
commit | ec21ccde12da6a5cc7143b533e0c707ebe5c1a3a (patch) | |
tree | dae167ce40c6c662441e1ecfa4429902fa26c588 /Modules | |
parent | addfe22821ad8db05e8dd0e90fe68463dd69c500 (diff) | |
download | cpython-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.c | 2 |
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; |