Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(45)

Side by Side Diff: Doc/library/collections.abc.rst

Issue 18758: Fix internal references in the documentation
Patch Set: Created 6 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/code.rst ('k') | Doc/library/collections.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`collections.abc` --- Abstract Base Classes for Containers 1 :mod:`collections.abc` --- Abstract Base Classes for Containers
2 =============================================================== 2 ===============================================================
3 3
4 .. module:: collections.abc 4 .. module:: collections.abc
5 :synopsis: Abstract base classes for containers 5 :synopsis: Abstract base classes for containers
6 .. moduleauthor:: Raymond Hettinger <python at rcn.com> 6 .. moduleauthor:: Raymond Hettinger <python at rcn.com>
7 .. sectionauthor:: Raymond Hettinger <python at rcn.com> 7 .. sectionauthor:: Raymond Hettinger <python at rcn.com>
8 8
9 .. versionadded:: 3.3 9 .. versionadded:: 3.3
10 Formerly, this module was part of the :mod:`collections` module. 10 Formerly, this module was part of the :mod:`collections` module.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 ABCs for classes that provide respectively the methods :meth:`__contains__`, 91 ABCs for classes that provide respectively the methods :meth:`__contains__`,
92 :meth:`__hash__`, :meth:`__len__`, and :meth:`__call__`. 92 :meth:`__hash__`, :meth:`__len__`, and :meth:`__call__`.
93 93
94 .. class:: Iterable 94 .. class:: Iterable
95 95
96 ABC for classes that provide the :meth:`__iter__` method. 96 ABC for classes that provide the :meth:`__iter__` method.
97 See also the definition of :term:`iterable`. 97 See also the definition of :term:`iterable`.
98 98
99 .. class:: Iterator 99 .. class:: Iterator
100 100
101 ABC for classes that provide the :meth:`__iter__` and :meth:`__next__` method s. 101 ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:`~itera tor.__next__` methods.
102 See also the definition of :term:`iterator`. 102 See also the definition of :term:`iterator`.
103 103
104 .. class:: Sequence 104 .. class:: Sequence
105 MutableSequence 105 MutableSequence
106 106
107 ABCs for read-only and mutable :term:`sequences <sequence>`. 107 ABCs for read-only and mutable :term:`sequences <sequence>`.
108 108
109 .. class:: Set 109 .. class:: Set
110 MutableSet 110 MutableSet
111 111
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 are hashable or immutable. To add set hashabilty using mixins, 181 are hashable or immutable. To add set hashabilty using mixins,
182 inherit from both :meth:`Set` and :meth:`Hashable`, then define 182 inherit from both :meth:`Set` and :meth:`Hashable`, then define
183 ``__hash__ = Set._hash``. 183 ``__hash__ = Set._hash``.
184 184
185 .. seealso:: 185 .. seealso::
186 186
187 * `OrderedSet recipe <http://code.activestate.com/recipes/576694/>`_ for an 187 * `OrderedSet recipe <http://code.activestate.com/recipes/576694/>`_ for an
188 example built on :class:`MutableSet`. 188 example built on :class:`MutableSet`.
189 189
190 * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. 190 * For more about ABCs, see the :mod:`abc` module and :pep:`3119`.
OLDNEW
« no previous file with comments | « Doc/library/code.rst ('k') | Doc/library/collections.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+