Skip to content

Commit 9ee8eb5

Browse files
committed
Better message for new flag
1 parent 056efee commit 9ee8eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/memoryobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ typedef struct {
2424
#define _Py_MEMORYVIEW_FORTRAN 0x004 /* Fortran contiguous layout */
2525
#define _Py_MEMORYVIEW_SCALAR 0x008 /* scalar: ndim = 0 */
2626
#define _Py_MEMORYVIEW_PIL 0x010 /* PIL-style layout */
27-
#define _Py_MEMORYVIEW_RESTRICTED 0x020 /* Disallow additional references */
27+
#define _Py_MEMORYVIEW_RESTRICTED 0x020 /* Disallow new references to the memoryview's buffer */
2828

2929
typedef struct {
3030
PyObject_VAR_HEAD

0 commit comments

Comments
 (0)