summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-11-29 22:42:59 (GMT)
committerFred Drake <fdrake@acm.org>2001-11-29 22:42:59 (GMT)
commit454af89712683b0120992c69e0c37862b9b433e2 (patch)
tree0db6d2b5c4c7ab5f18dbf7ee7b8e845c497fd99e
parent44b6f84e5698b9c8e6f62b606f04864e30ca73dc (diff)
downloadcpython-454af89712683b0120992c69e0c37862b9b433e2.zip
cpython-454af89712683b0120992c69e0c37862b9b433e2.tar.gz
cpython-454af89712683b0120992c69e0c37862b9b433e2.tar.bz2
Update the signature of PyFile_WriteString().
-rw-r--r--Doc/api/concrete.tex2
-rw-r--r--Doc/api/refcounts.dat2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index 5afe6b8..6c6e6f5 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -1932,7 +1932,7 @@ implementation detail and may change in future releases of Python.
failure; the appropriate exception will be set.
\end{cfuncdesc}
-\begin{cfuncdesc}{int}{PyFile_WriteString}{char *s, PyFileObject *p}
+\begin{cfuncdesc}{int}{PyFile_WriteString}{const char *s, PyFileObject *p}
Writes string \var{s} to file object \var{p}. Returns \code{0} on
success or \code{-1} on failure; the appropriate exception will be
set.
diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat
index d10e909..463eaf4 100644
--- a/Doc/api/refcounts.dat
+++ b/Doc/api/refcounts.dat
@@ -314,7 +314,7 @@ PyFile_WriteObject:PyFileObject*:p:0:
PyFile_WriteObject:int:flags::
PyFile_WriteString:int:::
-PyFile_WriteString:char*:s::
+PyFile_WriteString:const char*:s::
PyFile_WriteString:PyFileObject*:p:0:
PyFile_WriteString:int:flags::