summaryrefslogtreecommitdiffstats
path: root/Python/dynload_stub.c
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2021-11-18 15:54:25 (GMT)
committerGitHub <noreply@github.com>2021-11-18 15:54:25 (GMT)
commit31b3a70edb1216bdc8fab3b2eafd8ddb00487f41 (patch)
tree1f1e895daf1adea321aea211cc421633dfe42e21 /Python/dynload_stub.c
parentc94664c262bddbff4604795d46ecd0935402df8e (diff)
downloadcpython-31b3a70edb1216bdc8fab3b2eafd8ddb00487f41.zip
cpython-31b3a70edb1216bdc8fab3b2eafd8ddb00487f41.tar.gz
cpython-31b3a70edb1216bdc8fab3b2eafd8ddb00487f41.tar.bz2
[doc] bpo-45680: Disambiguate ``__getitem__`` and ``__class_getitem__`` in the data model (GH-29389)
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.
Diffstat (limited to 'Python/dynload_stub.c')
0 files changed, 0 insertions, 0 deletions