cpython/Doc/tools
Miss Islington (bot) 591bf41609
[3.9] [doc] bpo-45680: Disambiguate `__getitem__ and __class_getitem__` in the data model (GH-29389) (GH-29619)
The documentation explaining Python's data model does not adequately explain
the differences between ``__getitem__`` and ``__class_getitem__``, nor does it
explain when each is called. There is an attempt at explaining
``__class_getitem__`` in the documentation for ``GenericAlias`` objects, but
this does not give sufficient clarity into how the method works. Moreover, it
is the wrong place for that information to be found; the explanation of
``__class_getitem__`` should be in the documentation explaining the data model.

This PR has been split off from GH-29335.
(cherry picked from commit 31b3a70edb)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-11-18 18:41:09 +01:00
..
extensions Fixed linenumber missing when audit hook has an error (GH-24692) 2021-03-01 14:23:21 -08:00
static [3.9] Remove 3.5 from Doc version switcher in master. (GH-22886) (#22888) 2020-10-22 07:29:26 -07:00
templates docs: add the word 'official' (GH-26849) 2021-07-08 08:21:55 -07:00
rstlint.py bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
susp-ignored.csv [3.9] [doc] bpo-45680: Disambiguate `__getitem__ and __class_getitem__` in the data model (GH-29389) (GH-29619) 2021-11-18 18:41:09 +01:00