]> granicus.if.org Git - python/commit
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271)
authorcsabella <chekat2@gmail.com>
Wed, 26 Apr 2017 05:47:01 +0000 (01:47 -0400)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 26 Apr 2017 05:47:01 +0000 (15:47 +1000)
commitc6db4811f9ea3aeff0e1fafe1c60a22835ef359e
treeb27d11afad8a52fc60ce80108279e67c1a59539c
parentd819ad9832292d854e9710493ecdf959b69802e3
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions  (GH-1271)

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.
Doc/library/functions.rst
Doc/library/stdtypes.rst
Doc/reference/datamodel.rst