summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2009-04-24 20:05:20 (GMT)
committerThomas Heller <theller@ctypes.org>2009-04-24 20:05:20 (GMT)
commitc9baac88abf24bdd6a70525567425334c7dc1939 (patch)
tree279bf10dad661bbcc7e19ae61830caa085452da4 /Modules
parentb58f46f6914ec8f9b18ef3240a384d80e34c3bd1 (diff)
downloadcpython-c9baac88abf24bdd6a70525567425334c7dc1939.zip
cpython-c9baac88abf24bdd6a70525567425334c7dc1939.tar.gz
cpython-c9baac88abf24bdd6a70525567425334c7dc1939.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')
-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 69a8c73..5fedba3 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -1927,7 +1927,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;