Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
23506f4c
Commit
23506f4c
authored
Apr 06, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch from Marc-Andre Lemburg <mal@lemburg.com>:
Added Unicode type to the language reference.
parent
bcafa1b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
Doc/ref/ref3.tex
Doc/ref/ref3.tex
+15
-0
No files found.
Doc/ref/ref3.tex
View file @
23506f4c
...
...
@@ -277,6 +277,21 @@ Or perhaps someone can propose a better rule?)
\bifuncindex
{
chr
}
\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.
Tuples of two or more items are formed by comma-separated lists
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment