summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-09-02 16:41:55 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2002-09-02 16:41:55 (GMT)
commit70bb0d4e65f7c42aeb138a38735210107ad1ca53 (patch)
treefc861839315d538d61ef601d2e0cec83412bfe57 /Include/pyerrors.h
parentfd08e4c9edf63590c23ffb6f68c43d5015078c0b (diff)
downloadcpython-70bb0d4e65f7c42aeb138a38735210107ad1ca53.zip
cpython-70bb0d4e65f7c42aeb138a38735210107ad1ca53.tar.gz
cpython-70bb0d4e65f7c42aeb138a38735210107ad1ca53.tar.bz2
Removed bogus PyUnicodeTranslateError_GetEncoding, as
UnicodeTranslateError doesn't have an encoding attribute. (Spotted by Neal Norwitz)
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 756c4b2..bd44e02 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -134,7 +134,6 @@ PyAPI_FUNC(PyObject *) PyUnicodeTranslateError_Create(
/* get the encoding attribute */
PyAPI_FUNC(PyObject *) PyUnicodeEncodeError_GetEncoding(PyObject *);
PyAPI_FUNC(PyObject *) PyUnicodeDecodeError_GetEncoding(PyObject *);
-PyAPI_FUNC(PyObject *) PyUnicodeTranslateError_GetEncoding(PyObject *);
/* get the object attribute */
PyAPI_FUNC(PyObject *) PyUnicodeEncodeError_GetObject(PyObject *);