@@ -723,6 +723,14 @@ Glossary
723723 An object that both finds and loads a module; both a
724724 :term: `finder ` and :term: `loader ` object.
725725
726+ index
727+ A numeric value that represents the position of an entry in
728+ a :term: `sequence `.
729+ In some contexts, Python allows negative indexes for counting from the
730+ end of a sequence, and indexing using :term: `slices <slice> `.
731+
732+ See also :term: `subscript `.
733+
726734 interactive
727735 Python has an interactive interpreter which means you can enter
728736 statements and expressions at the interpreter prompt, immediately
@@ -800,8 +808,7 @@ Glossary
800808 the thread-safety of iterator operations.
801809
802810 key
803-
804- A value that "names" an entry in a :term: `mapping `,
811+ A value that identifies an entry in a :term: `mapping `.
805812 See also :term: `subscript `.
806813
807814 key function
@@ -1283,10 +1290,11 @@ Glossary
12831290 chosen based on the type of a single argument.
12841291
12851292 slice
1286- An object usually containing a portion of a :term: `sequence `. A slice is
1287- created using the subscript notation, ``[] `` with colons between numbers
1288- when several are given, such as in ``variable_name[1:3:5] ``. The bracket
1289- (subscript) notation uses :class: `slice ` objects internally.
1293+ An object of type :class: `slice `, used to describe a portion of
1294+ a :term: `sequence `.
1295+ A slice object is created when using the :ref: `slicing <slicings >` form
1296+ of :ref: `subscript notation <subscriptions >`, with colons inside square
1297+ brackets, such as in ``variable_name[1:3:5] ``.
12901298
12911299 soft deprecated
12921300 A soft deprecated API should not be used in new code,
@@ -1345,11 +1353,11 @@ Glossary
13451353 See also :term: `borrowed reference `.
13461354
13471355 subscript
1348-
1349- The expression in square brackets of a :ref: `subscription <subscriptions >`
1350- expression, usually used to select an element of a container.
1351- Also called a :term: `key ` ( when subscipting a :term: `mapping `) or
1352- an :term: `index ` ( when subscipting a :term: `sequence `) .
1356+ The expression in square brackets of a
1357+ :ref: `subscription expression <subscriptions >`, usually used to select
1358+ an element of a container.
1359+ Also called a :term: `key ` when subscipting a :term: `mapping `,
1360+ or :term: `index ` when subscipting a :term: `sequence `.
13531361
13541362 t-string
13551363 t-strings
0 commit comments