summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-03 15:02:35 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-03 15:02:35 (GMT)
commit6a0d844e76720cad4d26b85e8cc031f6365a5ef5 (patch)
tree8d3b73a270ae39bdaacf6363b3203e2fb5d3b912
parent42934689ea030e6ab7fc14e1f23aa0abd2e67aa9 (diff)
downloadcpython-6a0d844e76720cad4d26b85e8cc031f6365a5ef5.zip
cpython-6a0d844e76720cad4d26b85e8cc031f6365a5ef5.tar.gz
cpython-6a0d844e76720cad4d26b85e8cc031f6365a5ef5.tar.bz2
UserString section:
Small cleanups noted by Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>. Make the spelling of Unicode always uppercase.
-rw-r--r--Doc/lib/libuserdict.tex11
1 files changed, 5 insertions, 6 deletions
diff --git a/Doc/lib/libuserdict.tex b/Doc/lib/libuserdict.tex
index 1768f65..f859a27 100644
--- a/Doc/lib/libuserdict.tex
+++ b/Doc/lib/libuserdict.tex
@@ -82,23 +82,22 @@ can add new behaviours to strings.
The \module{UserString} module defines the \class{UserString} class:
\begin{classdesc}{UserString}{\optional{sequence}}
-Return a class instance that simulates a string or an unicode string object.
-The instance's content is kept in a regular string or unicode string
+Return a class instance that simulates a string or a Unicode string object.
+The instance's content is kept in a regular string or Unicode string
object, which is accessible via the
\member{data} attribute of \class{UserString} instances. The instance's
contents are initially set to a copy of \var{sequence}.
-\var{sequence} can be either a regular Python string or unicode string,
+\var{sequence} can be either a regular Python string or Unicode string,
an instance of \class{UserString} (or a subclass) or an arbitrary sequence
which can be converted into a string.
-supporting.
\end{classdesc}
In addition to supporting the methods and operations of string or
-unicode objects (see section \ref{typesseq}), \class{UserString} instances
+Unicode objects (see section \ref{typesseq}), \class{UserString} instances
provide the following attribute:
\begin{memberdesc}{data}
-A real Python string or unicode object used to store the content of the
+A real Python string or Unicode object used to store the content of the
\class{UserString} class.
\end{memberdesc}