[Python-checkins] python/dist/src/Python exceptions.c,1.36,1.37

doerwalter@users.sourceforge.net doerwalter@users.sourceforge.net
Mon, 02 Sep 2002 09:41:57 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv28577/Python

Modified Files:
	exceptions.c 
Log Message:
Removed bogus PyUnicodeTranslateError_GetEncoding, as
UnicodeTranslateError doesn't have an encoding attribute.
(Spotted by Neal Norwitz)


Index: exceptions.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/exceptions.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** exceptions.c	2 Sep 2002 16:10:06 -0000	1.36
--- exceptions.c	2 Sep 2002 16:41:55 -0000	1.37
***************
*** 932,940 ****
  }
  
- PyObject * PyUnicodeTranslateError_GetEncoding(PyObject *exc)
- {
-     return get_string(exc, "encoding");
- }
- 
  PyObject *PyUnicodeEncodeError_GetObject(PyObject *exc)
  {
--- 932,935 ----