diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -7,26 +7,27 @@ The Python interpreter has a number of functions built into it that are always available. They are listed here in alphabetical order. -=================== ================= ================== ================= ==================== -.. .. Built-in Functions .. .. -=================== ================= ================== ================= ==================== -:func:`abs` :func:`divmod` :func:`input` :func:`open` :func:`staticmethod` -:func:`all` :func:`enumerate` :func:`int` :func:`ord` :func:`str` -:func:`any` :func:`eval` :func:`isinstance` :func:`pow` :func:`sum` -:func:`basestring` :func:`execfile` :func:`issubclass` :func:`print` :func:`super` -:func:`bin` :func:`file` :func:`iter` :func:`property` :func:`tuple` -:func:`bool` :func:`filter` :func:`len` :func:`range` :func:`type` -:func:`bytearray` :func:`float` :func:`list` :func:`raw_input` :func:`unichr` -:func:`callable` :func:`format` :func:`locals` :func:`reduce` :func:`unicode` -:func:`chr` |func-frozenset|_ :func:`long` :func:`reload` :func:`vars` -:func:`classmethod` :func:`getattr` :func:`map` |func-repr|_ :func:`xrange` -:func:`cmp` :func:`globals` :func:`max` :func:`reversed` :func:`zip` -:func:`compile` :func:`hasattr` |func-memoryview|_ :func:`round` :func:`__import__` -:func:`complex` :func:`hash` :func:`min` |func-set|_ :func:`apply` -:func:`delattr` :func:`help` :func:`next` :func:`setattr` :func:`buffer` -|func-dict|_ :func:`hex` :func:`object` :func:`slice` :func:`coerce` -:func:`dir` :func:`id` :func:`oct` :func:`sorted` :func:`intern` -=================== ================= ================== ================= ==================== +===================== ================= ================== ==================== ================== +.. .. Built-in Functions .. .. +===================== ================= ================== ==================== ================== +:func:`abs` :func:`divmod` :func:`int` :func:`pow` :func:`super` +:func:`all` :func:`enumerate` :func:`isinstance` :func:`print` :func:`tuple` +:func:`any` :func:`eval` :func:`issubclass` :func:`property` :func:`type` +:func:`basestring` :func:`execfile` :func:`iter` :func:`range` :func:`unichr` +:func:`bin` :func:`file` :func:`len` :func:`raw_input` :func:`unicode` +:func:`bool` :func:`filter` :func:`list` :func:`reduce` :func:`vars` +:func:`bytes() ` :func:`float` :func:`locals` :func:`reload` :func:`xrange` +:func:`bytearray` :func:`format` :func:`long` |func-repr|_ :func:`zip` +:func:`callable` |func-frozenset|_ :func:`map` :func:`reversed` :func:`__import__` +:func:`chr` :func:`getattr` :func:`max` :func:`round` :func:`apply` +:func:`classmethod` :func:`globals` |func-memoryview|_ |func-set|_ :func:`buffer` +:func:`cmp` :func:`hasattr` :func:`min` :func:`setattr` :func:`coerce` +:func:`compile` :func:`hash` :func:`next` :func:`slice` :func:`intern` +:func:`complex` :func:`help` :func:`object` :func:`sorted` +:func:`delattr` :func:`hex` :func:`oct` :func:`staticmethod` +|func-dict|_ :func:`id` :func:`open` :func:`str` +:func:`dir` :func:`input` :func:`ord` :func:`sum` +===================== ================= ================== ==================== ================== .. using :func:`dict` would create a link to another page, so local targets are used, with replacement texts to make the output in the table consistent @@ -1345,6 +1346,9 @@ :ref:`string-formatting` section. In addition see the :ref:`stringservices` section. See also :func:`unicode`. + .. versionadded:: 2.6 + :func:`bytes` has been added as an alias for :func:`str` + .. function:: sum(iterable[, start])