From e3d34893df7ee1787cade40cd3548cb9b72a52bd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Apr 2010 07:29:03 +0000 Subject: [PATCH] --- colander/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/colander/__init__.py b/colander/__init__.py index 653ac0e..4cb5b0e 100644 --- a/colander/__init__.py +++ b/colander/__init__.py @@ -57,11 +57,11 @@ class Invalid(Exception): so, a :exc:`KeyError` is raised. For example, if the exception upon which ``__setitem__`` is - called has a node attribute with children, and that node - attribute has children that have the names ``name`` and - ``title``, you may successfully call ``__setitem__('name', - 'Bad name')`` or ``__setitem__('title', 'Bad title')``. But - calling ``__setitem__('wrong', 'whoops')`` will result in a + called has a node attribute, and that node attribute has + children that have the names ``name`` and ``title``, you may + successfully call ``__setitem__('name', 'Bad name')`` or + ``__setitem__('title', 'Bad title')``. But calling + ``__setitem__('wrong', 'whoops')`` will result in a :exc:`KeyError`. This method is typically only useful if the ``node`` attribute