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