[Python-checkins] python/dist/src/Include unicodeobject.h,2.37,2.38

lemburg@users.sourceforge.net lemburg@users.sourceforge.net
Wed, 29 May 2002 04:33:15 -0700


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

Modified Files:
	unicodeobject.h 
Log Message:
Fix for bug [ 561796 ] string.find causes lazy error



Index: unicodeobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/unicodeobject.h,v
retrieving revision 2.37
retrieving revision 2.38
diff -C2 -d -r2.37 -r2.38
*** unicodeobject.h	22 Apr 2002 17:42:37 -0000	2.37
--- unicodeobject.h	29 May 2002 11:33:13 -0000	2.38
***************
*** 984,988 ****
  
  /* Return the first position of substr in str[start:end] using the
!    given search direction or -1 if not found. */
  
  extern DL_IMPORT(int) PyUnicode_Find(
--- 984,989 ----
  
  /* Return the first position of substr in str[start:end] using the
!    given search direction or -1 if not found. -2 is returned in case
!    an error occurred and an exception is set. */
  
  extern DL_IMPORT(int) PyUnicode_Find(