diff Doc/lib/libstdtypes.tex @ 30707:9e21e56bf5f3 legacy-trunk

Patch #825679: Clarify semantics of .isfoo on empty strings. Backported to 2.3.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 18 Oct 2003 09:55:08 +0000
parents 3ff03446f362
children 38b0b7d41936
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex	Sat Oct 18 09:38:01 2003 +0000
+++ b/Doc/lib/libstdtypes.tex	Sat Oct 18 09:55:08 2003 +0000
@@ -613,7 +613,8 @@
 \end{methoddesc}
 
 \begin{methoddesc}[string]{isdigit}{}
-Return true if there are only digit characters, false otherwise.
+Return true if all characters in the string are digits and there
+is at least one character, false otherwise.
 \end{methoddesc}
 
 \begin{methoddesc}[string]{islower}{}
@@ -623,13 +624,14 @@
 
 \begin{methoddesc}[string]{isspace}{}
 Return true if there are only whitespace characters in the string and
-the string is not empty, false otherwise.
+there is at least one character, 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.
+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}
 
 \begin{methoddesc}[string]{isupper}{}