Kaydet (Commit) 0682be45 authored tarafından Fred Drake's avatar Fred Drake

letters:

        Fix description; lowercase and uppercase are strings, not
        functions!  Noted by Randall Hopper <aa8vb@yahoo.com>.

maketrans():
        Minor markup nits in description.
üst 8394595f
...@@ -21,8 +21,8 @@ The constants defined in this module are are: ...@@ -21,8 +21,8 @@ The constants defined in this module are are:
\end{datadesc} \end{datadesc}
\begin{datadesc}{letters} \begin{datadesc}{letters}
The concatenation of the strings \function{lowercase()} and The concatenation of the strings \constant{lowercase} and
\function{uppercase()} described below. \constant{uppercase} described below.
\end{datadesc} \end{datadesc}
\begin{datadesc}{lowercase} \begin{datadesc}{lowercase}
...@@ -156,8 +156,8 @@ The functions defined in this module are: ...@@ -156,8 +156,8 @@ The functions defined in this module are:
each character in \var{from} into the character at the same position 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. in \var{to}; \var{from} and \var{to} must have the same length.
\strong{Warning:} don't use strings derived from \code{lowercase} \strong{Warning:} don't use strings derived from \constant{lowercase}
and \code{uppercase} as arguments; in some locales, these don't have and \constant{uppercase} as arguments; in some locales, these don't have
the same length. For case conversions, always use the same length. For case conversions, always use
\function{lower()} and \function{upper()}. \function{lower()} and \function{upper()}.
\end{funcdesc} \end{funcdesc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment