Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec0d4b2

Browse files
authored
DOC: Fix indented table (#31422)
When indented after a line that ends in a colon, this leads to RST parsing this as a definition list, the table being the definition. Also remove some extraneous parentheses.
1 parent 06ef89f commit ec0d4b2

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

doc/source/dev/alignment.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ alignment of 4 and "uint" alignment of 8 (equal to the true alignment of
4141
``uint64``).
4242

4343
Some cases where uint and true alignment are different (default GCC Linux):
44-
====== ========= ======== ========
45-
arch type true-aln uint-aln
46-
====== ========= ======== ========
47-
x86_64 complex64 4 8
48-
x86_64 float128 16 8
49-
x86 float96 4 \-
50-
====== ========= ======== ========
44+
45+
====== ========= ======== ========
46+
arch type true-aln uint-aln
47+
====== ========= ======== ========
48+
x86_64 complex64 4 8
49+
x86_64 float128 16 8
50+
x86 float96 4 \-
51+
====== ========= ======== ========
5152

5253

5354
Variables in NumPy which control and describe alignment
@@ -95,7 +96,7 @@ Here is how the variables above are used:
9596
use a code path that buffers the arguments so they are true-aligned.
9697
4. Strided copy code: Here, "uint alignment" is used instead. If the itemsize
9798
of an array is equal to 1, 2, 4, 8 or 16 bytes and the array is uint
98-
aligned then instead NumPy will do ``*(uintN*)dst) = *(uintN*)src)`` for
99+
aligned then instead NumPy will do ``*(uintN*)dst = *(uintN*)src`` for
99100
appropriate N. Otherwise, NumPy copies by doing ``memcpy(dst, src, N)``.
100101
5. Nditer code: Since this often calls the strided copy code, it must
101102
check for "uint alignment".

0 commit comments

Comments
 (0)