Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Start on glossary entries
  • Loading branch information
encukou committed Dec 3, 2025
commit 3495d74c282ec0b58fccd1e921c6994dc388732f
11 changes: 11 additions & 0 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,10 @@ Glossary
And also please note that the free-threading CPython does not guarantee
the thread-safety of iterator operations.

key

A value that "names" an entry in a :term:`mapping`,
See also :term:`subscript`.

key function
A key function or collation function is a callable that returns a value
Expand Down Expand Up @@ -1340,6 +1344,13 @@ Glossary

See also :term:`borrowed reference`.

subscript

The expression in square brackets of a :ref:`subscription <subscriptions>`
expression, usually used to select an element of a container.
Also called a :term:`key` (when subscipting a :term:`mapping`) or
an :term:`index` (when subscipting a :term:`sequence`).

t-string
t-strings
String literals prefixed with ``t`` or ``T`` are commonly called
Expand Down