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
0110d3b2
Commit
0110d3b2
authored
Jan 24, 2001
by
Fredrik Lundh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new unicodedata functions (name, lookup)
parent
42e65590
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Doc/lib/libunicodedata.tex
Doc/lib/libunicodedata.tex
+13
-0
No files found.
Doc/lib/libunicodedata.tex
View file @
0110d3b2
...
...
@@ -21,6 +21,19 @@ UnicodeData File Format 3.0.0 (see
\url
{
http://www.unicode.org/Public/UNIDATA/UnicodeData.html
}
). It
defines the following functions:
\begin{funcdesc}
{
lookup
}{
name
}
Look up character by name. If a character with the
given name is found, return the corresponding Unicode
character. If not found,
\exception
{
KeyError
}
is raised.
\end{funcdesc}
\begin{funcdesc}
{
name
}{
unichr
\optional
{
, default
}}
Returns the name assigned to the Unicode character
\var
{
unichr
}
as a string. If no name is defined,
\var
{
default
}
is returned, or, if not given,
\exception
{
ValueError
}
is raised.
\end{funcdesc}
\begin{funcdesc}
{
decimal
}{
unichr
\optional
{
, default
}}
Returns the decimal value assigned to the Unicode character
\var
{
unichr
}
as integer. If no such value is defined,
...
...
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