There was an error while loading. Please reload this page.
1 parent 7f52444 commit 8df6f07Copy full SHA for 8df6f07
1 file changed
Doc/c-api/bytes.rst
@@ -249,7 +249,7 @@ called with a non-bytes parameter.
249
250
While bytes objects are usually immutable in Python, this special C API
251
allows mutating a bytes object in-place. The returned bytes object can still
252
- be mutated using :c:func:`PyBytesWriter_GetData`; except if *newsize* is
+ be mutated using :c:func:`PyBytes_AsString`; except if *newsize* is
253
zero in which case it returns the immutable empty bytes string.
254
255
.. soft-deprecated:: 3.15
0 commit comments