@@ -10,7 +10,7 @@ are always available. They are listed here in alphabetical order.
1010=================== ================= ================== ================ ====================
1111.. .. Built-in Functions .. ..
1212=================== ================= ================== ================ ====================
13- :func: `abs ` : func: ` dict ` :func: `help ` :func: `min ` :func: `setattr `
13+ :func: `abs ` | func- dict |_ :func: `help ` :func: `min ` :func: `setattr `
1414:func: `all ` :func: `dir ` :func: `hex ` :func: `next ` :func: `slice `
1515:func: `any ` :func: `divmod ` :func: `id ` :func: `object ` :func: `sorted `
1616:func: `ascii ` :func: `enumerate ` :func: `input ` :func: `oct ` :func: `staticmethod `
@@ -19,13 +19,22 @@ are always available. They are listed here in alphabetical order.
1919:func: `bytearray ` :func: `filter ` :func: `issubclass ` :func: `pow ` :func: `super `
2020:func: `bytes ` :func: `float ` :func: `iter ` :func: `print ` :func: `tuple `
2121:func: `callable ` :func: `format ` :func: `len ` :func: `property ` :func: `type `
22- :func: `chr ` : func: ` frozenset ` :func: `list ` :func: `range ` :func: `vars `
22+ :func: `chr ` | func- frozenset |_ :func: `list ` :func: `range ` :func: `vars `
2323:func: `classmethod ` :func: `getattr ` :func: `locals ` :func: `repr ` :func: `zip `
2424:func: `compile ` :func: `globals ` :func: `map ` :func: `reversed ` :func: `__import__ `
2525:func: `complex ` :func: `hasattr ` :func: `max ` :func: `round `
26- :func: `delattr ` :func: `hash ` : func: ` memoryview ` : func: ` set `
26+ :func: `delattr ` :func: `hash ` | func- memoryview |_ | func- set |_
2727=================== ================= ================== ================ ====================
2828
29+ .. using :func:`dict` would create a link to another page, so local targets are
30+ used, with replacement texts to make the output in the table consistent
31+
32+ .. |func-dict | replace :: ``dict() ``
33+ .. |func-frozenset | replace :: ``frozenset() ``
34+ .. |func-memoryview | replace :: ``memoryview() ``
35+ .. |func-set | replace :: ``set() ``
36+
37+
2938.. function :: abs(x)
3039
3140 Return the absolute value of a number. The argument may be an
@@ -74,11 +83,12 @@ are always available. They are listed here in alphabetical order.
7483
7584.. function :: bool([x])
7685
77- Convert a value to a Boolean, using the standard truth testing procedure. If
78- *x * is false or omitted, this returns :const: `False `; otherwise it returns
79- :const: `True `. :class: `bool ` is also a class, which is a subclass of
80- :class: `int `. Class :class: `bool ` cannot be subclassed further. Its only
81- instances are :const: `False ` and :const: `True `.
86+ Convert a value to a Boolean, using the standard :ref: `truth testing
87+ procedure <truth>`. If *x * is false or omitted, this returns ``False ``;
88+ otherwise it returns ``True ``. :class: `bool ` is also a class, which is a
89+ subclass of :class: `int ` (see :ref: `typesnumeric `). Class :class: `bool `
90+ cannot be subclassed further. Its only instances are ``False `` and
91+ ``True `` (see :ref: `bltin-boolean-values `).
8292
8393 .. index :: pair: Boolean; type
8494
@@ -248,6 +258,7 @@ are always available. They are listed here in alphabetical order.
248258 example, ``delattr(x, 'foobar') `` is equivalent to ``del x.foobar ``.
249259
250260
261+ .. _func-dict :
251262.. function :: dict([arg])
252263 :noindex:
253264
@@ -491,6 +502,7 @@ are always available. They are listed here in alphabetical order.
491502
492503 The float type is described in :ref: `typesnumeric `.
493504
505+
494506.. function :: format(value[, format_spec])
495507
496508 .. index ::
@@ -511,6 +523,8 @@ are always available. They are listed here in alphabetical order.
511523 :exc: `TypeError ` exception is raised if the method is not found or if either
512524 the *format_spec * or the return value are not strings.
513525
526+
527+ .. _func-frozenset :
514528.. function :: frozenset([iterable])
515529 :noindex:
516530
@@ -717,6 +731,8 @@ are always available. They are listed here in alphabetical order.
717731 such as ``sorted(iterable, key=keyfunc, reverse=True)[0] `` and
718732 ``heapq.nlargest(1, iterable, key=keyfunc) ``.
719733
734+
735+ .. _func-memoryview :
720736.. function :: memoryview(obj)
721737 :noindex:
722738
@@ -1040,7 +1056,7 @@ are always available. They are listed here in alphabetical order.
10401056
10411057 Range objects implement the :class: `collections.Sequence ` ABC, and provide
10421058 features such as containment tests, element index lookup, slicing and
1043- support for negative indices:
1059+ support for negative indices (see :ref: ` typesseq `) :
10441060
10451061 >>> r = range (0 , 20 , 2 )
10461062 >>> r
@@ -1108,6 +1124,8 @@ are always available. They are listed here in alphabetical order.
11081124 can't be represented exactly as a float. See :ref: `tut-fp-issues ` for
11091125 more information.
11101126
1127+
1128+ .. _func-set :
11111129.. function :: set([iterable])
11121130 :noindex:
11131131
0 commit comments