mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Fix {} mismatch spotted by George Yoshida.
This commit is contained in:
parent
ba8194bd2a
commit
5f5a69ba9d
1 changed files with 1 additions and 1 deletions
|
|
@ -1135,7 +1135,7 @@ with a segmentation fault.)
|
|||
|
||||
You shouldn't use \function{c_char_p} with a Python string when the C function will be modifying the memory area, because Python strings are
|
||||
supposed to be immutable; breaking this rule will cause puzzling bugs. When you need a modifiable memory area,
|
||||
use \function{create_string_buffer():
|
||||
use \function{create_string_buffer()}:
|
||||
|
||||
\begin{verbatim}
|
||||
s = "this is a string"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue