summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-02 01:03:11 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-02 01:03:11 (GMT)
commitf3fd733f928752c9e35f8f5141a54cd21c0993b5 (patch)
treee5ed83eca223ac5ee8a0e836dc8ee8206f89f688 /Include
parent6f58b6b50445be3cbebf592680bab928c4311a89 (diff)
downloadcpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.zip
cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.tar.gz
cpython-f3fd733f928752c9e35f8f5141a54cd21c0993b5.tar.bz2
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 4d2a8e4..6c492d1 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -668,8 +668,7 @@ PyAPI_FUNC(int) PyUnicode_ClearFreeList(void);
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyUnicode_AsDefaultEncodedString(
- PyObject *unicode,
- const char *errors);
+ PyObject *unicode);
#endif
/* Returns a pointer to the default encoding (UTF-8) of the