mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
#5486: typos.
This commit is contained in:
parent
f87e04d339
commit
ae2dbe2543
15 changed files with 27 additions and 27 deletions
|
@ -93,7 +93,7 @@ could be used to pass around structured data in its native, in-memory format.
|
|||
occur (striding in a contiguous memory block).
|
||||
|
||||
Here is a function that returns a pointer to the element in an N-D array
|
||||
pointed to by an N-dimesional index when there are both non-NULL strides
|
||||
pointed to by an N-dimensional index when there are both non-NULL strides
|
||||
and suboffsets::
|
||||
|
||||
void *get_item_pointer(int ndim, void *buf, Py_ssize_t *strides,
|
||||
|
|
|
@ -820,7 +820,7 @@ interpreter lock and can perform any Python API calls.
|
|||
it returns -1 without setting any exception.
|
||||
|
||||
This function can be called on any thread, be it a Python thread or
|
||||
some other system thread. If it is a Python thread, it doesen't matter if
|
||||
some other system thread. If it is a Python thread, it doesn't matter if
|
||||
it holds the global interpreter lock or not.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
|
|
@ -1214,7 +1214,7 @@ member in the :ctype:`PyTypeObject` structure should be *NULL*. Otherwise, the
|
|||
export, *view* is the :ctype:`Py_buffer` struct to fill, and *flags* gives
|
||||
the conditions the caller wants the memory under. (See
|
||||
:cfunc:`PyObject_GetBuffer` for all flags.) :cmember:`bf_getbuffer` is
|
||||
responsible for filling *view* with the approiate information.
|
||||
responsible for filling *view* with the appropriate information.
|
||||
(:cfunc:`PyBuffer_FillView` can be used in simple cases.) See
|
||||
:ctype:`Py_buffer`\s docs for what needs to be filled in.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue