[Python-checkins] python/dist/src/Python import.c,2.234,2.235

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Mon Aug 2 01:26:08 CEST 2004


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

Modified Files:
	import.c 
Log Message:
lock_held() docs:  Use True/False instead of 1/0.  The LaTeX docs were
already correct, so not changed here.


Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.234
retrieving revision 2.235
diff -C2 -d -r2.234 -r2.235
*** import.c	1 Aug 2004 23:24:21 -0000	2.234
--- import.c	1 Aug 2004 23:26:05 -0000	2.235
***************
*** 2693,2699 ****
  
  PyDoc_STRVAR(doc_lock_held,
! "lock_held() -> 0 or 1\n\
! Return 1 if the import lock is currently held.\n\
! On platforms without threads, return 0.");
  
  PyDoc_STRVAR(doc_acquire_lock,
--- 2693,2699 ----
  
  PyDoc_STRVAR(doc_lock_held,
! "lock_held() -> boolean\n\
! Return True if the import lock is currently held, else False.\n\
! On platforms without threads, return False.");
  
  PyDoc_STRVAR(doc_acquire_lock,



More information about the Python-checkins mailing list