]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271) (GH-1915)
authorMariatta <Mariatta@users.noreply.github.com>
Fri, 2 Jun 2017 04:56:24 +0000 (21:56 -0700)
committerGitHub <noreply@github.com>
Fri, 2 Jun 2017 04:56:24 +0000 (21:56 -0700)
commit1c92c0edca413c6f8ce8ec326a67451ae751ead9
tree230eaee42d532bc5662793783ab8c1236b424646
parente417d12d728103445b8516a35f643536e401f120
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions  (GH-1271) (GH-1915)

Builtin container types have two potential link targets in the docs:

- their entry in the list of builtin callables
- their type documentation

This change brings `bytes` and `bytearray` into line with other
container types by having cross-references default to linking to
their type documentation, rather than their builtin callable entry..
(cherry picked from commit c6db4811f9ea3aeff0e1fafe1c60a22835ef359e)
Doc/library/functions.rst
Doc/library/stdtypes.rst
Doc/reference/datamodel.rst