This commit is contained in:
Georg Brandl 2009-03-13 19:04:40 +00:00
parent f87e04d339
commit ae2dbe2543
15 changed files with 27 additions and 27 deletions

View file

@ -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,

View file

@ -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

View file

@ -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.