Skip to content

Commit f786485

Browse files
slatenyCAM-Gerlach
andauthored
[3.10] Change links to label refs (GH-98454) (#98726)
Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent 4b41b11 commit f786485

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

Doc/howto/clinic.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. highlight:: c
22

3+
.. _howto-clinic:
4+
35
**********************
46
Argument Clinic How-To
57
**********************

Doc/reference/datamodel.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,8 @@ Attribute lookup speed can be significantly improved as well.
18371837
and *__weakref__* for each instance.
18381838

18391839

1840+
.. _datamodel-note-slots:
1841+
18401842
Notes on using *__slots__*
18411843
""""""""""""""""""""""""""
18421844

Doc/using/venv-create.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ re-used.
1616
1717
.. deprecated:: 3.6
1818
``pyvenv`` was the recommended tool for creating virtual environments for
19-
Python 3.3 and 3.4, and is `deprecated in Python 3.6
20-
<https://docs.python.org/dev/whatsnew/3.6.html#id8>`_.
19+
Python 3.3 and 3.4, and is
20+
:ref:`deprecated in Python 3.6 <whatsnew36-venv>`.
2121
2222
.. versionchanged:: 3.5
2323
The use of ``venv`` is now recommended for creating virtual environments.

Doc/whatsnew/2.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ This section has just been a quick overview of the new features, giving enough
395395
of an explanation to start you programming, but many details have been
396396
simplified or ignored. Where should you go to get a more complete picture?
397397

398-
https://docs.python.org/dev/howto/descriptor.html is a lengthy tutorial introduction to
398+
The :ref:`descriptorhowto` is a lengthy tutorial introduction to
399399
the descriptor features, written by Guido van Rossum. If my description has
400400
whetted your appetite, go read this tutorial next, because it goes into much
401401
more detail about the new features while still remaining quite easy to read.

Doc/whatsnew/3.6.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,6 +2052,8 @@ tkinter
20522052
The :mod:`tkinter.tix` module is now deprecated. :mod:`tkinter` users
20532053
should use :mod:`tkinter.ttk` instead.
20542054

2055+
.. _whatsnew36-venv:
2056+
20552057
venv
20562058
~~~~
20572059

Doc/whatsnew/3.8.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ Positional-only parameters
122122
There is a new function parameter syntax ``/`` to indicate that some
123123
function parameters must be specified positionally and cannot be used as
124124
keyword arguments. This is the same notation shown by ``help()`` for C
125-
functions annotated with Larry Hastings' `Argument Clinic
126-
<https://docs.python.org/3/howto/clinic.html>`_ tool.
125+
functions annotated with Larry Hastings'
126+
:ref:`Argument Clinic <howto-clinic>` tool.
127127

128128
In the following example, parameters *a* and *b* are positional-only,
129129
while *c* or *d* can be positional or keyword, and *e* or *f* are

Misc/NEWS.d/3.9.0a3.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,7 @@ event loop only if called from the main thread.
805805
.. section: Documentation
806806
807807
Add an entry for ``__module__`` in the "function" & "method" sections of the
808-
`inspect docs types and members table
809-
<https://docs.python.org/3/library/inspect.html#types-and-members>`_
808+
:mod:`inspect` docs' :ref:`inspect-types` table.
810809

811810
..
812811

0 commit comments

Comments
 (0)