summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.abc.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-28 12:28:44 (GMT)
committerGeorg Brandl <georg@python.org>2013-03-28 12:28:44 (GMT)
commit44ea77bd817c0b50e01344b7e8758995aaeebb63 (patch)
treed16064ba6c2225e5842ac7215d8d08eb6d85bb54 /Doc/library/collections.abc.rst
parent6ba6b13e3291fdb1abc746183d428120872807a0 (diff)
downloadcpython-44ea77bd817c0b50e01344b7e8758995aaeebb63.zip
cpython-44ea77bd817c0b50e01344b7e8758995aaeebb63.tar.gz
cpython-44ea77bd817c0b50e01344b7e8758995aaeebb63.tar.bz2
Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
Diffstat (limited to 'Doc/library/collections.abc.rst')
-rw-r--r--Doc/library/collections.abc.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
index 5eea0df..115ce10 100644
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -31,6 +31,8 @@ Collections Abstract Base Classes
The collections module offers the following :term:`ABCs <abstract base class>`:
+.. tabularcolumns:: |l|L|L|L|
+
========================= ===================== ====================== ====================================================
ABC Inherits from Abstract Methods Mixin Methods
========================= ===================== ====================== ====================================================
@@ -134,7 +136,7 @@ classes supporting container APIs. For example, to write a class supporting
the full :class:`Set` API, it only necessary to supply the three underlying
abstract methods: :meth:`__contains__`, :meth:`__iter__`, and :meth:`__len__`.
The ABC supplies the remaining methods such as :meth:`__and__` and
-:meth:`isdisjoint` ::
+:meth:`isdisjoint`::
class ListBasedSet(collections.Set):
''' Alternate set implementation favoring space over speed