@@ -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.
@@ -1103,10 +1103,12 @@ Glossary
1103
1103
The :class: `collections.abc.Sequence ` abstract base class
1104
1104
defines a much richer interface that goes beyond just
1105
1105
:meth: `~object.__getitem__ ` and :meth: `~object.__len__ `, adding
1106
- :meth: `count `, :meth: `index `, :meth: `~object.__contains__ `, and
1106
+ :meth: `! count `, :meth: `! index `, :meth: `~object.__contains__ `, and
1107
1107
:meth: `~object.__reversed__ `. Types that implement this expanded
1108
1108
interface can be registered explicitly using
1109
- :func: `~abc.ABCMeta.register `.
1109
+ :func: `~abc.ABCMeta.register `. For more documentation on sequence
1110
+ methods generally, see
1111
+ :ref: `Common Sequence Operations <typesseq-common >`.
1110
1112
1111
1113
set comprehension
1112
1114
A compact way to process all or part of the elements in an iterable and
0 commit comments