mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
A lot more typo fixes by Ori Avtalion.
This commit is contained in:
parent
a14a4e8b84
commit
907a720f89
25 changed files with 35 additions and 35 deletions
|
|
@ -8,7 +8,7 @@ Buffer Protocol
|
|||
|
||||
.. cfunction:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_len)
|
||||
|
||||
Returns a pointer to a read-only memory location useable as character- based
|
||||
Returns a pointer to a read-only memory location usable as character-based
|
||||
input. The *obj* argument must support the single-segment character buffer
|
||||
interface. On success, returns ``0``, sets *buffer* to the memory location and
|
||||
*buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:`TypeError`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue