UserString section:
Small cleanups noted by Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>. Make the spelling of Unicode always uppercase.
This commit is contained in:
parent
42934689ea
commit
6a0d844e76
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue