summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/exceptions.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c
index 47a4e4d09c..24ea25ddee 100644
--- a/Python/exceptions.c
+++ b/Python/exceptions.c
@@ -931,11 +931,6 @@ PyObject * PyUnicodeDecodeError_GetEncoding(PyObject *exc)
return get_string(exc, "encoding");
}
-PyObject * PyUnicodeTranslateError_GetEncoding(PyObject *exc)
-{
- return get_string(exc, "encoding");
-}
-
PyObject *PyUnicodeEncodeError_GetObject(PyObject *exc)
{
return get_unicode(exc, "object");