diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-02 01:03:11 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-02 01:03:11 (GMT) |
commit | f3fd733f928752c9e35f8f5141a54cd21c0993b5 (patch) | |
tree | e5ed83eca223ac5ee8a0e836dc8ee8206f89f688 /Modules/_ctypes | |
parent | 6f58b6b50445be3cbebf592680bab928c4311a89 (diff) | |
download | cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.zip cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.tar.gz cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.tar.bz2 |
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
Diffstat (limited to 'Modules/_ctypes')
-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 ff35862..d30018b 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -1826,7 +1826,7 @@ PyCSimpleType_new(PyTypeObject *type, PyObject *args, PyObject *kwds) return NULL; } if (PyUnicode_Check(proto)) { - PyObject *v = _PyUnicode_AsDefaultEncodedString(proto, NULL); + PyObject *v = _PyUnicode_AsDefaultEncodedString(proto); if (!v) goto error; proto_str = PyBytes_AS_STRING(v); |