Skip to content

Commit 58bb0d8

Browse files
dmitrytokarevserhiy-storchaka
authored andcommitted
Fixed 2.7 docs - links to list, backported from python3.x (#2518)
1 parent a45a99b commit 58bb0d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/functions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ available. They are listed here in alphabetical order.
1616
:func:`basestring` :func:`execfile` :func:`issubclass` :func:`print` :func:`super`
1717
:func:`bin` :func:`file` :func:`iter` :func:`property` :func:`tuple`
1818
:func:`bool` :func:`filter` :func:`len` :func:`range` :func:`type`
19-
:func:`bytearray` :func:`float` :func:`list` :func:`raw_input` :func:`unichr`
19+
:func:`bytearray` :func:`float` |func-list|_ :func:`raw_input` :func:`unichr`
2020
:func:`callable` :func:`format` :func:`locals` :func:`reduce` :func:`unicode`
2121
:func:`chr` |func-frozenset|_ :func:`long` :func:`reload` :func:`vars`
2222
:func:`classmethod` :func:`getattr` :func:`map` |func-repr|_ :func:`xrange`
@@ -38,6 +38,7 @@ section.
3838
3939
.. |func-dict| replace:: ``dict()``
4040
.. |func-frozenset| replace:: ``frozenset()``
41+
.. |func-list| replace:: ``list()``
4142
.. |func-memoryview| replace:: ``memoryview()``
4243
.. |func-repr| replace:: ``repr()``
4344
.. |func-set| replace:: ``set()``
@@ -697,6 +698,7 @@ section.
697698
Support for a tuple of type information was added.
698699

699700

701+
.. _func-list:
700702
.. function:: issubclass(class, classinfo)
701703

702704
Return true if *class* is a subclass (direct, indirect or :term:`virtual

0 commit comments

Comments
 (0)