From: Fred Drake Date: Mon, 10 Apr 2000 18:35:49 +0000 (+0000) Subject: letters: X-Git-Tag: v1.6a2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0682be4524d64844fcf174da17da0f294feab900;p=thirdparty%2FPython%2Fcpython.git letters: Fix description; lowercase and uppercase are strings, not functions! Noted by Randall Hopper . maketrans(): Minor markup nits in description. --- diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex index 32b7c27b0028..5a0a41c49d3e 100644 --- a/Doc/lib/libstring.tex +++ b/Doc/lib/libstring.tex @@ -21,8 +21,8 @@ The constants defined in this module are are: \end{datadesc} \begin{datadesc}{letters} - The concatenation of the strings \function{lowercase()} and - \function{uppercase()} described below. + The concatenation of the strings \constant{lowercase} and + \constant{uppercase} described below. \end{datadesc} \begin{datadesc}{lowercase} @@ -156,8 +156,8 @@ The functions defined in this module are: each character in \var{from} into the character at the same position in \var{to}; \var{from} and \var{to} must have the same length. - \strong{Warning:} don't use strings derived from \code{lowercase} - and \code{uppercase} as arguments; in some locales, these don't have + \strong{Warning:} don't use strings derived from \constant{lowercase} + and \constant{uppercase} as arguments; in some locales, these don't have the same length. For case conversions, always use \function{lower()} and \function{upper()}. \end{funcdesc}