[Python-checkins] python/dist/src/Include pystate.h,2.25,2.26

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat Mar 13 15:45:49 EST 2004


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1124

Modified Files:
	pystate.h 
Log Message:
SF patch #906501:  Fix typos in pystate.h comments
(Contributed by Greg Chapman.)



Index: pystate.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pystate.h,v
retrieving revision 2.25
retrieving revision 2.26
diff -C2 -d -r2.25 -r2.26
*** pystate.h	28 Jun 2003 21:53:52 -0000	2.25
--- pystate.h	13 Mar 2004 20:45:47 -0000	2.26
***************
*** 125,129 ****
  
     The return value is an opaque "handle" to the thread state when
!    PyGILState_Acquire() was called, and must be passed to
     PyGILState_Release() to ensure Python is left in the same state. Even
     though recursive calls are allowed, these handles can *not* be shared - 
--- 125,129 ----
  
     The return value is an opaque "handle" to the thread state when
!    PyGILState_Ensure() was called, and must be passed to
     PyGILState_Release() to ensure Python is left in the same state. Even
     though recursive calls are allowed, these handles can *not* be shared - 
***************
*** 139,143 ****
  /* Release any resources previously acquired.  After this call, Python's
     state will be the same as it was prior to the corresponding
!    PyGILState_Acquire call (but generally this state will be unknown to 
     the caller, hence the use of the GILState API.)
  
--- 139,143 ----
  /* Release any resources previously acquired.  After this call, Python's
     state will be the same as it was prior to the corresponding
!    PyGILState_Ensure() call (but generally this state will be unknown to 
     the caller, hence the use of the GILState API.)
  




More information about the Python-checkins mailing list