mirror of https://github.com/python/cpython
Whitespace.
This commit is contained in:
parent
abd887d690
commit
4e14174e24
|
@ -649,7 +649,7 @@ PyBuffer_FillContiguousStrides(int nd, Py_ssize_t *shape,
|
||||||
|
|
||||||
int
|
int
|
||||||
PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len,
|
PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len,
|
||||||
int readonly, int flags)
|
int readonly, int flags)
|
||||||
{
|
{
|
||||||
if (view == NULL) return 0; /* XXX why not -1? */
|
if (view == NULL) return 0; /* XXX why not -1? */
|
||||||
if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
|
if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
|
||||||
|
|
Loading…
Reference in New Issue