From 80298d62f08397b097588efcbf0161e162f769dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Mon, 2 Sep 2002 16:41:55 +0000 Subject: Removed bogus PyUnicodeTranslateError_GetEncoding, as UnicodeTranslateError doesn't have an encoding attribute. (Spotted by Neal Norwitz) --- Python/exceptions.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Python') 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"); -- cgit v1.2.1