Skip to content

Commit 0f68d97

Browse files
Fix formatting and links in functions.rst
1 parent 7739943 commit 0f68d97

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/functions.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.. XXX document all delegations to __special__ methods
22
.. _built-in-funcs:
33

4-
Built-in Functions
4+
.. Built-in Functions
55
==================
66

7-
The Python interpreter has a number of functions and types built into it that
7+
.. _The Python interpreter has a number of functions and types built into it that
88
are always available. They are listed here in alphabetical order.
99

10-
+---------------------------------------------------------------------------------------------------+
10+
.. _+---------------------------------------------------------------------------------------------------+
1111
| Built-in Functions |
12-
+=========================+=======================+=======================+=========================+
12+
.. _+=========================+=======================+=======================+=========================+
1313
| | **A** | | **E** | | **L** | | **R** |
1414
| | :func:`abs` | | :func:`enumerate` | | :func:`len` | | |func-range|_ |
1515
| | :func:`aiter` | | :func:`eval` | | |func-list|_ | | :func:`repr` |
@@ -40,10 +40,10 @@ are always available. They are listed here in alphabetical order.
4040
| | | | :func:`iter` | | | | :func:`__import__` |
4141
+-------------------------+-----------------------+-----------------------+-------------------------+
4242

43-
.. using :func:`dict` would create a link to another page, so local targets are
43+
.. _using :func:`dict` would create a link to another page, so local targets are
4444
used, with replacement texts to make the output in the table consistent
4545
46-
.. |func-dict| replace:: ``dict()``
46+
.. _|func-dict| replace:: ``dict()``
4747
.. |func-frozenset| replace:: ``frozenset()``
4848
.. |func-memoryview| replace:: ``memoryview()``
4949
.. |func-set| replace:: ``set()``
@@ -54,15 +54,15 @@ are always available. They are listed here in alphabetical order.
5454
.. |func-bytearray| replace:: ``bytearray()``
5555
.. |func-bytes| replace:: ``bytes()``
5656

57-
.. function:: abs(number, /)
57+
.. _function:: abs(number, /)
5858

5959
Return the absolute value of a number. The argument may be an
6060
integer, a floating-point number, or an object implementing
6161
:meth:`~object.__abs__`.
6262
If the argument is a complex number, its magnitude is returned.
6363

6464

65-
.. function:: aiter(async_iterable, /)
65+
.. _function:: aiter(async_iterable, /)
6666

6767
Return an :term:`asynchronous iterator` for an :term:`asynchronous iterable`.
6868
Equivalent to calling ``x.__aiter__()``.

0 commit comments

Comments
 (0)