From cf1658f21f66a560e0315bdf58e53995c24cda15 Mon Sep 17 00:00:00 2001 From: Carlos de la Guardia Date: Mon, 8 Mar 2010 07:42:20 +0000 Subject: Edited for clarity. --- docs/narr/traversal.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst index 041aee89c..f54e38572 100644 --- a/docs/narr/traversal.rst +++ b/docs/narr/traversal.rst @@ -245,7 +245,7 @@ method is how Python itself typically determines whether an object is Each container node is presumed to be willing to return a child node or raise a ``KeyError`` based on a name passed to its ``__getitem__``. -No leaf-level instance is required to have a ``__getitem__``. If +Leaf-level instances must not have a ``__getitem__``. If instances that you'd like to be leaves already happen to have a ``__getitem__`` through some historical inequity, you should subclass these node types and cause their ``__getitem__`` methods to simply -- cgit v1.2.3