diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-07-30 22:34:24 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-07-30 22:34:24 (GMT) |
commit | 3ce45389bd929296863e26586fa6963ba307e6fb (patch) | |
tree | f094b82d809cd17a3bbd1f8779396389d7c985a3 /Objects/stringobject.c | |
parent | 5121e7de11eaf8ef872aef4b0c58612d6a814161 (diff) | |
download | cpython-3ce45389bd929296863e26586fa6963ba307e6fb.zip cpython-3ce45389bd929296863e26586fa6963ba307e6fb.tar.gz cpython-3ce45389bd929296863e26586fa6963ba307e6fb.tar.bz2 |
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 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 9a88d2f..c7f5062 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -333,11 +333,6 @@ PyString_AsString(register PyObject *op) return ((PyStringObject *)op) -> ob_sval; } -/* Internal API needed by PyString_AsStringAndSize(): */ -extern -PyObject *_PyUnicode_AsDefaultEncodedString(PyObject *unicode, - const char *errors); - int PyString_AsStringAndSize(register PyObject *obj, register char **s, |