@@ -350,7 +350,7 @@ Glossary
350
350
docstring
351
351
A string literal which appears as the first expression in a class,
352
352
function or module. While ignored when the suite is executed, it is
353
- recognized by the compiler and put into the :attr: `__doc__ ` attribute
353
+ recognized by the compiler and put into the :attr: `! __doc__ ` attribute
354
354
of the enclosing class, function or module. Since it is available via
355
355
introspection, it is the canonical place for documentation of the
356
356
object.
@@ -1101,10 +1101,12 @@ Glossary
1101
1101
The :class: `collections.abc.Sequence ` abstract base class
1102
1102
defines a much richer interface that goes beyond just
1103
1103
:meth: `~object.__getitem__ ` and :meth: `~object.__len__ `, adding
1104
- :meth: `count `, :meth: `index `, :meth: `~object.__contains__ `, and
1104
+ :meth: `! count `, :meth: `! index `, :meth: `~object.__contains__ `, and
1105
1105
:meth: `~object.__reversed__ `. Types that implement this expanded
1106
1106
interface can be registered explicitly using
1107
- :func: `~abc.ABCMeta.register `.
1107
+ :func: `~abc.ABCMeta.register `. For more documentation on sequence
1108
+ methods generally, see
1109
+ :ref: `Common Sequence Operations <typesseq-common >`.
1108
1110
1109
1111
set comprehension
1110
1112
A compact way to process all or part of the elements in an iterable and
0 commit comments