Skip to content

Commit 23b989c

Browse files
committed
fix doc references
1 parent 85c92f4 commit 23b989c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/changelog.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Changelog
66

77
24.11.3
88
=======
9-
- Revert :ref:`ASYNC100 <async100>` ignoring :func:`trio.open_nursery` and :func:`anyio.create_task_group` due to it not viewing `start_soon()` as introducing a :ref:`cancel point`.
9+
- Revert :ref:`ASYNC100 <async100>` ignoring :func:`trio.open_nursery` and :func:`anyio.create_task_group` due to it not viewing `start_soon()` as introducing a :ref:`cancel point <cancel_point>`.
1010

1111
24.11.2
1212
=======
@@ -15,8 +15,8 @@ Changelog
1515
24.11.1
1616
=======
1717
- :ref:`ASYNC100 <async100>` now ignores :func:`trio.open_nursery` and :func:`anyio.create_task_group`
18-
as cancellation sources, because they are :ref:`schedule points <schedule_points>` but not
19-
:ref:`cancellation points <cancel_points>`.
18+
as cancellation sources, because they are :ref:`schedule points <schedule_point>` but not
19+
:ref:`cancellation points <cancel_point>`.
2020
- :ref:`ASYNC101 <async101>` and :ref:`ASYNC119 <async119>` are now silenced for decorators in :ref:`transform-async-generator-decorators`.
2121

2222
24.10.2

docs/glossary.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ functions defined by Trio will either checkpoint or raise an exception when
9999
iteration, and when exhausting the iterator, and ``async with`` will checkpoint
100100
on at least one of enter/exit.
101101

102-
The one exception is :func:`trio.open_nursery` and :func:`anyio.create_task_group` which are :ref:`schedule_points` but not :ref:`cancel_points`.
102+
The one exception is :func:`trio.open_nursery` and :func:`anyio.create_task_group` which are :ref:`schedule points <schedule_point>` but not :ref:`cancel points <cancel_point>`.
103103

104104
asyncio does not place any guarantees on if or when asyncio functions will
105105
checkpoint. This means that enabling and adhering to :ref:`ASYNC91x <ASYNC910>`
@@ -117,7 +117,6 @@ To insert a checkpoint with no other side effects, you can use
117117
<asyncio.sleep>`
118118

119119
.. _schedule_point:
120-
.. _schedule_points:
121120

122121
Schedule Point
123122
--------------
@@ -137,7 +136,6 @@ asyncio does not have any direct equivalents due to their cancellation model bei
137136

138137

139138
.. _cancel_point:
140-
.. _cancel_points:
141139

142140
Cancel Point
143141
------------

0 commit comments

Comments
 (0)