[Python-checkins] CVS: python/dist/src/Doc/ref ref3.tex,1.40,1.41
Fred Drake
python-dev@python.org
Thu, 6 Apr 2000 09:57:24 -0400
Update of /projects/cvsroot/python/dist/src/Doc/ref
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/ref
Modified Files:
ref3.tex
Log Message:
Patch from Marc-Andre Lemburg <mal@lemburg.com>:
Added Unicode type to the language reference.
Index: ref3.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/ref/ref3.tex,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** ref3.tex 2000/04/03 04:41:18 1.40
--- ref3.tex 2000/04/06 13:57:21 1.41
***************
*** 278,281 ****
--- 278,296 ----
\bifuncindex{ord}
+ \item[Unicode]
+ The items of a Unicode object are Unicode characters. A Unicode
+ character is represented by a Unicode object of one item and can hold
+ a 16-bit value representing a Unicode ordinal. The built-in functions
+ \function{unichr()}\bifuncindex{unichr} and
+ \function{ord()}\bifuncindex{ord} convert between characters and
+ nonnegative integers representing the Unicode ordinals as defined in
+ the Unicode Standard 3.0. Conversion from and to other encodings are
+ possible through the Unicode method \method{encode} and the built-in
+ function \function{unicode()}\bifuncindex{unicode}.
+ \obindex{unicode}
+ \index{character}
+ \index{integer}
+ \index{Unicode@\UNICODE{}}
+
\item[Tuples]
The items of a tuple are arbitrary Python objects.