From 6a0d844e76720cad4d26b85e8cc031f6365a5ef5 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 3 Apr 2000 15:02:35 +0000 Subject: UserString section: Small cleanups noted by Detlef Lannert . Make the spelling of Unicode always uppercase. --- Doc/lib/libuserdict.tex | 11 +++++------ 1 file 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} -- cgit v0.12