summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-06 17:42:52 (GMT)
committerGeorg Brandl <georg@python.org>2008-09-06 17:42:52 (GMT)
commit1aeaadd82a5a1677d84acb9e74914182f0697b7b (patch)
tree6f73c64067dd046105b82f0154bad1c81b83d638 /Doc
parentcf06bcc098fe6b6e0821b2319205c3b7ceb20f42 (diff)
downloadcpython-1aeaadd82a5a1677d84acb9e74914182f0697b7b.zip
cpython-1aeaadd82a5a1677d84acb9e74914182f0697b7b.tar.gz
cpython-1aeaadd82a5a1677d84acb9e74914182f0697b7b.tar.bz2
#3793: fix markup.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/datamodel.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 8793490..56eccc2 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1262,6 +1262,7 @@ Basic customization
explicitly set to :const:`None`.
.. method:: object.__bool__(self)
+
.. index:: single: __len__() (mapping object method)
Called to implement truth value testing, and the built-in operation ``bool()``;