You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/mir/ndslice/connect/cpython.d
+2-2
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ import std.traits;
20
20
21
21
/++
22
22
Construct flags for $(PGB).
23
-
If `T` is not `const` or `immutable` then the flags requrie writable buffer.
23
+
If `T` is not `const` or `immutable` then the flags require writable buffer.
24
24
If slice kind is $(SUBREF slice, Contiguous) then the flags require $(LINK2 https://docs.python.org/3/c-api/buffer.html#contiguity-requests, c_contiguous) buffer.
25
25
26
26
Params:
@@ -95,7 +95,7 @@ Params:
95
95
view = output $(LREF Py_buffer).
96
96
$(LREF Py_buffer.internal) is initialized with null value,
97
97
$(LREF Py_buffer.obj) is not initialized.
98
-
Other $(LREF Py_buffer) fields are initialized accroding to the flags and slice.
98
+
Other $(LREF Py_buffer) fields are initialized according to the flags and slice.
99
99
flags = requester flags
100
100
structureBuffer = Single chunk of memory with the same alignment and size as $(SUBREF _slice, Structure).
101
101
The buffer is used to store shape and strides for the view.
0 commit comments