[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.135, 1.136

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sat Oct 18 05:55:10 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv15131/Doc/lib

Modified Files:
	libstdtypes.tex 
Log Message:
Patch #825679: Clarify semantics of .isfoo on empty strings.
Backported to 2.3.


Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.135
retrieving revision 1.136
diff -C2 -d -r1.135 -r1.136
*** libstdtypes.tex	18 Oct 2003 09:38:01 -0000	1.135
--- libstdtypes.tex	18 Oct 2003 09:55:08 -0000	1.136
***************
*** 614,618 ****
  
  \begin{methoddesc}[string]{isdigit}{}
! Return true if there are only digit characters, false otherwise.
  \end{methoddesc}
  
--- 614,619 ----
  
  \begin{methoddesc}[string]{isdigit}{}
! Return true if all characters in the string are digits and there
! is at least one character, false otherwise.
  \end{methoddesc}
  
***************
*** 624,634 ****
  \begin{methoddesc}[string]{isspace}{}
  Return true if there are only whitespace characters in the string and
! the string is not empty, false otherwise.
  \end{methoddesc}
  
  \begin{methoddesc}[string]{istitle}{}
! Return true if the string is a titlecased string: uppercase
! characters may only follow uncased characters and lowercase characters
! only cased ones.  Return false otherwise.
  \end{methoddesc}
  
--- 625,636 ----
  \begin{methoddesc}[string]{isspace}{}
  Return true if there are only whitespace characters in the string and
! there is at least one character, false otherwise.
  \end{methoddesc}
  
  \begin{methoddesc}[string]{istitle}{}
! Return true if the string is a titlecased string and there is at least one
! character, i.e. uppercase characters may only follow uncased
! characters and lowercase characters only cased ones.  Return false
! otherwise.
  \end{methoddesc}
  





More information about the Python-checkins mailing list