Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 454af89

Browse files
committed
Update the signature of PyFile_WriteString().
1 parent 44b6f84 commit 454af89

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/api/concrete.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ \subsection{File Objects \label{fileObjects}}
19321932
failure; the appropriate exception will be set.
19331933
\end{cfuncdesc}
19341934

1935-
\begin{cfuncdesc}{int}{PyFile_WriteString}{char *s, PyFileObject *p}
1935+
\begin{cfuncdesc}{int}{PyFile_WriteString}{const char *s, PyFileObject *p}
19361936
Writes string \var{s} to file object \var{p}. Returns \code{0} on
19371937
success or \code{-1} on failure; the appropriate exception will be
19381938
set.

Doc/api/refcounts.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ PyFile_WriteObject:PyFileObject*:p:0:
314314
PyFile_WriteObject:int:flags::
315315

316316
PyFile_WriteString:int:::
317-
PyFile_WriteString:char*:s::
317+
PyFile_WriteString:const char*:s::
318318
PyFile_WriteString:PyFileObject*:p:0:
319319
PyFile_WriteString:int:flags::
320320

0 commit comments

Comments
 (0)