Skip to content

Commit 90f8686

Browse files
committed
Fixed incorrect anchor links being generated by swapping the heading and index directive
1 parent 6611f4d commit 90f8686

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Doc/c-api/memoryview.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
.. _memoryview-objects:
44

5-
.. index::
6-
pair: object; memoryview
7-
85
MemoryView objects
96
------------------
107

8+
.. index::
9+
pair: object; memoryview
10+
1111
A :class:`memoryview` object exposes the C level :ref:`buffer interface
1212
<bufferobjects>` as a Python object which can then be passed around like
1313
any other object.

Doc/reference/expressions.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ exception.
136136

137137
.. _private-name-mangling:
138138

139+
Private name mangling
140+
^^^^^^^^^^^^^^^^^^^^^
141+
139142
.. index::
140143
pair: name; mangling
141144
pair: private; names
142145

143-
Private name mangling
144-
^^^^^^^^^^^^^^^^^^^^^
145-
146146
When an identifier that textually occurs in a class definition begins with two
147147
or more underscore characters and does not end in two or more underscores, it
148148
is considered a :dfn:`private name` of that class.
@@ -2669,13 +2669,13 @@ expression. (To create an empty tuple, use an empty pair of parentheses:
26692669

26702670
.. _iterable-unpacking:
26712671

2672+
Iterable unpacking
2673+
------------------
2674+
26722675
.. index::
26732676
pair: iterable; unpacking
26742677
single: * (asterisk); in expression lists
26752678

2676-
Iterable unpacking
2677-
------------------
2678-
26792679
In an expression list or tuple, list or set display, any expression
26802680
may be prefixed with an asterisk (``*``).
26812681
This denotes :dfn:`iterable unpacking`.

0 commit comments

Comments
 (0)