summaryrefslogtreecommitdiff
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-07-30 22:34:24 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2001-07-30 22:34:24 +0000
commitc3113ec4efdcb4232113691ff43b0e82e67e8870 (patch)
tree97f1f50806d355da8af2f647bf7a39f989951e2f /Python/getargs.c
parente85bd2f1f66fe3881c49b1643e3b1e82bc2aeaec (diff)
downloadcpython-c3113ec4efdcb4232113691ff43b0e82e67e8870.tar.gz
Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.
And remove all the extern decls in the middle of .c files. Apparently, it was excluded from the header file because it is intended for internal use by the interpreter. It's still intended for internal use and documented as such in the header file.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 8c00b0ee1a..c9a5273c84 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -359,11 +359,6 @@ convertitem(PyObject *arg, char **p_format, va_list *p_va, int *levels,
-/* Internal API needed by convertsimple() and a helper macro. */
-extern
-PyObject *_PyUnicode_AsDefaultEncodedString(PyObject *unicode,
- const char *errors);
-
#define UNICODE_DEFAULT_ENCODING(arg) \
_PyUnicode_AsDefaultEncodedString(arg, NULL)