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
3c3507fd
Commit
3c3507fd
authored
Apr 28, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation patch describing the 'u' and 'u#' format specifiers,
from Brian Hooper <brian_takashi@hotmail.com>.
parent
25d34473
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Doc/ext/ext.tex
Doc/ext/ext.tex
+10
-0
No files found.
Doc/ext/ext.tex
View file @
3c3507fd
...
...
@@ -1006,6 +1006,16 @@ Same as \samp{s}.
\item
[\samp{z\#} (string or \code{None}) {[char *, int]
}
]
Same as
\samp
{
s
\#
}
.
\item
[\samp{u} (Unicode string) {[Py_UNICODE *]
}
]
Convert a null-terminated buffer of Unicode (UCS-2) data to a Python
Unicode object. If the Unicode buffer pointer is
\NULL
,
\code
{
None
}
is returned.
\item
[\samp{u\#} (Unicode string) {[Py_UNICODE *, int]
}
]
Convert a Unicode (UCS-2) data buffer and its length to a Python
Unicode object. If the Unicode buffer pointer is
\NULL
, the length
is ignored and
\code
{
None
}
is returned.
\item
[\samp{i} (integer) {[int]
}
]
Convert a plain C
\ctype
{
int
}
to a Python integer object.
...
...
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