summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-10 05:05:23 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-10 05:05:23 (GMT)
commitc32f71dd56afb0760e4c9fad102b6b21d66b82f1 (patch)
treef4eb5cd2508090714b3e4d8c34ae82453330099d /Doc
parente1b4a1613b71a3bf3fe33444149dd1cbd5ebc6b8 (diff)
downloadcpython-c32f71dd56afb0760e4c9fad102b6b21d66b82f1.zip
cpython-c32f71dd56afb0760e4c9fad102b6b21d66b82f1.tar.gz
cpython-c32f71dd56afb0760e4c9fad102b6b21d66b82f1.tar.bz2
Fix some doc problems.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/concrete.tex2
-rw-r--r--Doc/api/utilities.tex4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index 4dc3f4c..ddb19d0 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -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{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyUnicode_FromFormat}{const char *format, ...}
Take a C \cfunction{printf()}-style \var{format} string and a
diff --git a/Doc/api/utilities.tex b/Doc/api/utilities.tex
index 961f200..037c087 100644
--- a/Doc/api/utilities.tex
+++ b/Doc/api/utilities.tex
@@ -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{\textbackslash0} upon return. They never write more than
-\var{size} bytes (including the trailing \character{\textbackslash0}
+\var{size} bytes (including the trailing \character{\textbackslash0})
into str. Both functions require that \code{\var{str} != NULL},
\code{\var{size} > 0} and \code{\var{format} != NULL}.