diff options
author | Walter Dörwald <walter@livinglogic.de> | 2002-09-02 16:41:55 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2002-09-02 16:41:55 +0000 |
commit | 70bb0d4e65f7c42aeb138a38735210107ad1ca53 (patch) | |
tree | fc861839315d538d61ef601d2e0cec83412bfe57 /Python/exceptions.c | |
parent | fd08e4c9edf63590c23ffb6f68c43d5015078c0b (diff) | |
download | cpython-git-70bb0d4e65f7c42aeb138a38735210107ad1ca53.tar.gz |
Removed bogus PyUnicodeTranslateError_GetEncoding, as
UnicodeTranslateError doesn't have an encoding attribute.
(Spotted by Neal Norwitz)
Diffstat (limited to 'Python/exceptions.c')
-rw-r--r-- | Python/exceptions.c | 5 |
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"); |