Skip to content

Commit a908bc4

Browse files
authored
Doc: Builtins functions: faster jump table (GH-21376)
1 parent 4fa61a7 commit a908bc4

File tree

1 file changed

+32
-18
lines changed

1 file changed

+32
-18
lines changed

Doc/library/functions.rst

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,38 @@ Built-in Functions
77
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-
=================== ================= ================== ================== ====================
11-
.. .. Built-in Functions .. ..
12-
=================== ================= ================== ================== ====================
13-
:func:`abs` :func:`delattr` :func:`hash` |func-memoryview|_ |func-set|_
14-
:func:`all` |func-dict|_ :func:`help` :func:`min` :func:`setattr`
15-
:func:`any` :func:`dir` :func:`hex` :func:`next` :func:`slice`
16-
:func:`ascii` :func:`divmod` :func:`id` :func:`object` :func:`sorted`
17-
:func:`bin` :func:`enumerate` :func:`input` :func:`oct` :func:`staticmethod`
18-
:func:`bool` :func:`eval` :func:`int` :func:`open` |func-str|_
19-
:func:`breakpoint` :func:`exec` :func:`isinstance` :func:`ord` :func:`sum`
20-
|func-bytearray|_ :func:`filter` :func:`issubclass` :func:`pow` :func:`super`
21-
|func-bytes|_ :func:`float` :func:`iter` :func:`print` |func-tuple|_
22-
:func:`callable` :func:`format` :func:`len` :func:`property` :func:`type`
23-
:func:`chr` |func-frozenset|_ |func-list|_ |func-range|_ :func:`vars`
24-
:func:`classmethod` :func:`getattr` :func:`locals` :func:`repr` :func:`zip`
25-
:func:`compile` :func:`globals` :func:`map` :func:`reversed` :func:`__import__`
26-
:func:`complex` :func:`hasattr` :func:`max` :func:`round`
27-
=================== ================= ================== ================== ====================
10+
+---------------------------------------------------------------------------------------------------+
11+
| Built-in Functions |
12+
+=========================+=======================+=======================+=========================+
13+
| | **A** | | **E** | | **L** | | **R** |
14+
| | :func:`abs` | | :func:`enumerate` | | :func:`len` | | |func-range|_ |
15+
| | :func:`all` | | :func:`eval` | | |func-list|_ | | :func:`repr` |
16+
| | :func:`any` | | :func:`exec` | | :func:`locals` | | :func:`reversed` |
17+
| | :func:`ascii` | | | | | | :func:`round` |
18+
| | | | **F** | | **M** | | |
19+
| | **B** | | :func:`filter` | | :func:`map` | | **S** |
20+
| | :func:`bin` | | :func:`float` | | :func:`max` | | |func-set|_ |
21+
| | :func:`bool` | | :func:`format` | | |func-memoryview|_ | | :func:`setattr` |
22+
| | :func:`breakpoint` | | |func-frozenset|_ | | :func:`min` | | :func:`slice` |
23+
| | |func-bytearray|_ | | | | | | :func:`sorted` |
24+
| | |func-bytes|_ | | **G** | | **N** | | :func:`staticmethod` |
25+
| | | | :func:`getattr` | | :func:`next` | | |func-str|_ |
26+
| | **C** | | :func:`globals` | | | | :func:`sum` |
27+
| | :func:`callable` | | | | **O** | | :func:`super` |
28+
| | :func:`chr` | | **H** | | :func:`object` | | |
29+
| | :func:`classmethod` | | :func:`hasattr` | | :func:`oct` | | **T** |
30+
| | :func:`compile` | | :func:`hash` | | :func:`open` | | |func-tuple|_ |
31+
| | :func:`complex` | | :func:`help` | | :func:`ord` | | :func:`type` |
32+
| | | | :func:`hex` | | | | |
33+
| | **D** | | | | **P** | | **V** |
34+
| | :func:`delattr` | | **I** | | :func:`pow` | | :func:`vars` |
35+
| | |func-dict|_ | | :func:`id` | | :func:`print` | | |
36+
| | :func:`dir` | | :func:`input` | | :func:`property` | | **Z** |
37+
| | :func:`divmod` | | :func:`int` | | | | :func:`zip` |
38+
| | | | :func:`isinstance` | | | | |
39+
| | | | :func:`issubclass` | | | | **_** |
40+
| | | | :func:`iter` | | | | :func:`__import__` |
41+
+-------------------------+-----------------------+-----------------------+-------------------------+
2842

2943
.. using :func:`dict` would create a link to another page, so local targets are
3044
used, with replacement texts to make the output in the table consistent

0 commit comments

Comments
 (0)