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
c32f71dd
Commit
c32f71dd
authored
Aug 10, 2007
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some doc problems.
parent
e1b4a161
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/api/concrete.tex
Doc/api/concrete.tex
+1
-1
Doc/api/utilities.tex
Doc/api/utilities.tex
+2
-2
No files found.
Doc/api/concrete.tex
View file @
c32f71dd
...
...
@@ -1013,7 +1013,7 @@ use these APIs:
Create a Unicode object from an UTF-8 encoded null-terminated
char buffer
\var
{
u
}
.
\versionadded
{
3.0
}
\end{funcdesc}
\end{
c
funcdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
FromFormat
}{
const char *format, ...
}
Take a C
\cfunction
{
printf()
}
-style
\var
{
format
}
string and a
...
...
Doc/api/utilities.tex
View file @
c32f71dd
...
...
@@ -429,7 +429,7 @@ whose address should be passed.
\item
[
\samp
{
y
\#
}
(bytes object)
{
[const char *, int]
}
]
This variant on
\samp
{
s#
}
stores into two C variables, the first one
This variant on
\samp
{
s
\
#
}
stores into two C variables, the first one
a pointer to a character string, the second one its length. This only
accepts bytes objects.
...
...
@@ -974,7 +974,7 @@ behavior in corner cases, which the Standard C functions do not.
The wrappers ensure that
\var
{
str
}
[
\var
{
size
}
-1] is always
\character
{
\textbackslash
0
}
upon return. They never write more than
\var
{
size
}
bytes (including the trailing
\character
{
\textbackslash
0
}
\var
{
size
}
bytes (including the trailing
\character
{
\textbackslash
0
}
)
into str. Both functions require that
\code
{
\var
{
str
}
!= NULL
}
,
\code
{
\var
{
size
}
> 0
}
and
\code
{
\var
{
format
}
!= NULL
}
.
...
...
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